summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 06ab4c8..2e7e392 100644
--- a/Makefile
+++ b/Makefile
@@ -20,9 +20,10 @@ CC=gcc
INSTALL=install
INSTALLDIR=$(INSTALL) -d
-CFLAGS=-g -D_GNU_SOURCE -Werror -Wall -Wstrict-prototypes -std=gnu99 \
- -DAPK_VERSION=\"$(FULL_VERSION)\"
-LDFLAGS=-g
+CFLAGS?=-g -Werror -Wall -Wstrict-prototypes
+CFLAGS+=-D_GNU_SOURCE -std=gnu99 -DAPK_VERSION=\"$(FULL_VERSION)\"
+
+LDFLAGS?=-g
LIBS=/usr/lib/libz.a
ifeq ($(STATIC),yes)