Fix include path in dep generation
This commit is contained in:
parent
5efa21e22a
commit
dbb5a6be83
2
Makefile
2
Makefile
|
@ -138,7 +138,7 @@ src/.clang_complete: Makefile
|
||||||
|
|
||||||
.deps/%.d: src/%.c | .deps
|
.deps/%.d: src/%.c | .deps
|
||||||
@set -e; rm -f $@; \
|
@set -e; rm -f $@; \
|
||||||
$(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
|
$(CC) -M $(CPPFLAGS) $(INCS) $< > $@.$$$$; \
|
||||||
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
|
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
|
||||||
rm -f $@.$$$$
|
rm -f $@.$$$$
|
||||||
%.o: src/%.c
|
%.o: src/%.c
|
||||||
|
|
Loading…
Reference in New Issue