summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-07-24 00:27:42 -0400
committeryenatch <yenatch@gmail.com>2017-07-24 00:27:42 -0400
commitf0f781925791085b1944934ab95e0344e524536e (patch)
tree54d27640678eb760c57d84761c2ca8175124a1e5
parentc0ebc30a60b1fa919b424a34bd355a565b317ab8 (diff)
scaninc: -I include in the makefile
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e18b7b2f0..f4e4a5e96 100644
--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,7 @@ $1_ASM_OBJS := $$(ASM_SRCS:%.s=build/$1/%.o)
$1_DATA_ASM_OBJS := $$(DATA_ASM_SRCS:%.s=build/$1/%.o)
ifeq ($$(NODEP),)
-build/$1/src/%.o: c_dep = $$(shell $$(SCANINC) src/$$(*F).c)
+build/$1/src/%.o: c_dep = $$(shell $$(SCANINC) -I include src/$$(*F).c)
build/$1/asm/%.o: asm_dep = $$(shell $$(SCANINC) asm/$$(*F).s)
build/$1/data/%.o: asm_dep = $$(shell $$(SCANINC) data/$$(*F).s)
endif