aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2025-04-14 20:02:53 +0200
committerFederico Angelilli <code@fedang.net>2025-04-14 22:12:58 +0200
commitefdf4a4883937c8a2fad278fbd4ffc207ef981dc (patch)
tree061e90f703ebd2b447e9b12d39c5868a972ceb4a /Makefile
parentdc9e9c06421eb9156baf425ac14ec8f50cb8b5ae (diff)
Update logging
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b1c634a..c7c40e0 100644
--- a/Makefile
+++ b/Makefile
@@ -13,11 +13,11 @@ PCDEP = xcb \
pangocairo \
lua5.4
-CFLAGS := $(shell pkg-config --cflags $(PCDEP)) -Wall -Werror $(CFLAGS)
-LDFLAGS := $(shell pkg-config --libs $(PCDEP)) -lm $(LDFLAGS)
+CFLAGS += $(shell pkg-config --cflags $(PCDEP)) -Wall -Werror
+LDFLAGS += $(shell pkg-config --libs $(PCDEP)) -lm
ifdef RELEASE
-CFLAGS += -O2 -DRELEASE=1
+CFLAGS += -O2 -D_RELEASE
else
CFLAGS += -ggdb
endif