aboutsummaryrefslogtreecommitdiff
path: root/mk/depend.mk
diff options
context:
space:
mode:
authorWill Miles <wmiles@sgl.com>2015-01-22 09:43:28 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-01-24 13:48:53 -0600
commit3f80f22e22ec16ed517397fd303c3df99f9340fc (patch)
treef76bee821407e2ec9d3881a3bb6fce79364c814c /mk/depend.mk
parent8250ac94dfc6156075081e0e2d0986cb51b3098d (diff)
Prioritize local includes and libraries
This fixes #35.
Diffstat (limited to 'mk/depend.mk')
-rw-r--r--mk/depend.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/depend.mk b/mk/depend.mk
index 44af3782..873b0ca3 100644
--- a/mk/depend.mk
+++ b/mk/depend.mk
@@ -6,7 +6,7 @@ IGNOREFILES+= .depend
.depend: ${SRCS}
rm -f .depend
- ${CC} ${CPPFLAGS} -MM ${SRCS} > .depend
+ ${CC} ${LOCAL_CPPFLAGS} ${CPPFLAGS} -MM ${SRCS} > .depend
depend: .depend extra_depend