Skip to content

Commit

Permalink
Make DEPGEN respect CPPFLAGS
Browse files Browse the repository at this point in the history
Dependency generation needs to have access to external includes,
for which CXXFLAGS are required. Not sure why gcc works without this,
but clang doesn't.
  • Loading branch information
AMDmi3 committed Jul 29, 2015
1 parent 5ba200e commit be831ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -13,7 +13,7 @@ CPPFLAGS += $(shell $(PKG_CONFIG) --cflags libpng zlib libenet 2>/dev/null) $(sh

STRIP = strip

DEPGEN = $(CXX) -MM
DEPGEN = $(CXX) $(CPPFLAGS) -MM
RM = rm -rf
MKDIR = mkdir -p

Expand Down

0 comments on commit be831ec

Please sign in to comment.