J :
* Find out when a dependancy has been erased and remake the deps file anyway.
This commit is contained in:
@@ -85,4 +85,7 @@ $(OBJS): objs/%.o: src/%.cpp
|
|||||||
$(DEPS): deps/%.d: src/%.cpp
|
$(DEPS): deps/%.d: src/%.cpp
|
||||||
@$(CXX) -MM $(CXXFLAGS) -MQ $(patsubst deps/%.d, objs/%.o, $(@)) -MQ $@ $< > $@
|
@$(CXX) -MM $(CXXFLAGS) -MQ $(patsubst deps/%.d, objs/%.o, $(@)) -MQ $@ $< > $@
|
||||||
|
|
||||||
|
.DEFAULT:
|
||||||
|
@echo $@ has been deleted : updating deps.
|
||||||
|
|
||||||
-include $(DEPS)
|
-include $(DEPS)
|
||||||
|
|||||||
Reference in New Issue
Block a user