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 796df02..cf55cc2 100644
--- a/Makefile
+++ b/Makefile
@@ -12,11 +12,11 @@ PCDEP = xcb \
"xcb-randr >= 1.5" \
pangocairo
-CFLAGS := $(shell pkg-config --cflags $(PCDEP)) -Wall -Werror
-LDFLAGS := $(shell pkg-config --libs $(PCDEP)) -lm
+CFLAGS := $(shell pkg-config --cflags $(PCDEP)) -Wall -Werror $(CFLAGS)
+LDFLAGS := $(shell pkg-config --libs $(PCDEP)) -lm $(LDFLAGS)
ifdef RELEASE
-CFLAGS += -O2
+CFLAGS += -O2 -DRELEASE=1
else
CFLAGS += -ggdb
endif