Commit 26435c1a authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Makefile: Also honor CFLAGS when building deps.mk

parent fe8ce541
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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