Commit 7d3030b4 authored by Timo Teräs's avatar Timo Teräs

build: honor CPPFLAGS

parent 8c12f9f6
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment