diff options
| author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-10-08 23:40:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-08 23:40:46 -0500 |
| commit | b60f7cb66b1bcd293babbd95e56d26d61f309ee0 (patch) | |
| tree | be0dadd4cb3a6c36e27233836a6f104359d49949 /Makefile | |
| parent | 3776a9fb4f0531535b0b5879dab7b3b6bd231736 (diff) | |
| parent | b0d49dbbfbfcf39c2a9f88572437b6af77c8f709 (diff) | |
Merge pull request #388 from yenatch/scaninc
[dont merge] scaninc: read C includes and add -I
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,7 +114,7 @@ $1_DATA_ASM_OBJS := $$(DATA_ASM_SRCS:%.s=build/$1/%.o) ifeq ($$(NODEP),) build/$1/src/%.o: c_path = $$(*D)/$$(*F).c -build/$1/src/%.o: c_dep = $$(shell $$(SCANINC) $$(wildcard $$(c_path:build/$1/=))) +build/$1/src/%.o: c_dep = $$(shell $$(SCANINC) -I include $$(wildcard $$(c_path:build/$1/=))) build/$1/asm/%.o: asm_dep = $$(shell $$(SCANINC) asm/$$(*F).s) build/$1/data/%.o: asm_dep = $$(shell $$(SCANINC) data/$$(*F).s) endif |
