aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 109a35f..83418b7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
-CFLAGS ?= -g -O2 -W -Wall -std=c99 -D_POSIX_C_SOURCE=2
+NEEDED_CFLAGS := -std=c99 -D_POSIX_C_SOURCE=2
+CFLAGS ?= -g -O2 -W -Wall
+override CFLAGS += $(NEEDED_CFLAGS)
DESTDIR ?= /usr/local
pw:
clean: ; rm -f pw