Skip to content

Commit

Permalink
Merge pull request sargon#34 from dai-vdr/add_CPPFLAGS
Browse files Browse the repository at this point in the history
add CPPFLAGS to compilation rules.
  • Loading branch information
sargon authored Jul 9, 2017
2 parents 48866d2 + 4bcc522 commit 5f66dfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ CFLAGS ?= -g -Wall
endif

%.o: %.c
$(CC) $(CFLAGS) $(INCS) -c $<
$(CC) $(CPPFLAGS) $(CFLAGS) $(INCS) -c $<

%.dep: %.c
$(CC) $(CFLAGS) $(INCS) -MM $< -o $@
$(CC) $(CPPFLAGS) $(CFLAGS) $(INCS) -MM $< -o $@

.PHONY: all clean distclean install uninstall

Expand Down

0 comments on commit 5f66dfd

Please sign in to comment.