diff --git a/compile.mk b/compile.mk index be6332c9..dcc6af0d 100644 --- a/compile.mk +++ b/compile.mk @@ -66,7 +66,7 @@ DEPENDENCIES := $(patsubst %, build/%.d, $(SOURCES)) # Final targets $(TARGET): $(OBJECTS) - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ + $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) -include $(DEPENDENCIES)