Skip to content
Snippets Groups Projects
Commit 7d3030b4 authored by Timo Teräs's avatar Timo Teräs
Browse files

build: honor CPPFLAGS

parent 8c12f9f6
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment