summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2c472a9..cae2a40 100644
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ clean:
@rm -f $(USR_BIN_FILES)
%.o: %.c
- $(CC) $(CFLAGS) $(CFLAGS-$@) -o $@ -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS-$@) -o $@ -c $<
abuild-sudo: abuild-sudo.o
$(LINK)
@@ -78,7 +78,7 @@ abuild-tar: abuild-tar.o
$(LINK)
abuild-tar.static: abuild-tar.o
- $(CC) $(CFLAGS) $(CFLAGS-$@) -o $@ -static $(LIBS-$@) $^
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS-$@) -o $@ -static $(LIBS-$@) $^
help:
@echo "$(P) makefile"