aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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