diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
