summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-01-29 21:17:08 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-01-29 21:17:08 +0100
commit26435c1a89d8fb2a30564165da20b41917e72389 (patch)
treed1cf732a560d81e08f796ca0efa3530110e227fa /src
parentfe8ce5419da5f08e0923e759753b75edc53906b3 (diff)
Makefile: Also honor CFLAGS when building deps.mk
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 2f6185a..8a9f97e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -51,9 +51,9 @@ include deps.mk
fehrc.inc: fehrc.raw
help.inc: help.raw
-
+# CFLAGS might contain include paths needed to resolve includes in headers
deps.mk: ${TARGETS} ${I_DSTS}
- ${CC} ${CPPFLAGS} -MM ${TARGETS} > $@
+ ${CC} ${CFLAGS} -MM ${TARGETS} > $@
clean:
rm -f feh *.o *.inc