mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
Fix Makefile dependency
This commit is contained in:
parent
571a6cf15f
commit
c37c6c41ed
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -134,9 +134,9 @@ src/.clang_complete: Makefile
|
|||
@(for i in $(filter-out -O% -DNDEBUG, $(CFG) $(CPPFLAGS) $(INCS)); do echo "$$i"; done) > $@
|
||||
|
||||
.deps:
|
||||
mkdir -p .deps
|
||||
mkdir -p $@
|
||||
|
||||
%.o: src/%.c .deps
|
||||
%.o: src/%.c | .deps
|
||||
$(eval DEP=$(addprefix .deps/,$(@:.o=.d)))
|
||||
@set -e; rm -f $(DEP); \
|
||||
$(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
|
||||
|
|
Loading…
Reference in a new issue