fix dependencies in Makefile

Wed, 19 Feb 2025 18:53:31 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 19 Feb 2025 18:53:31 +0100
changeset 38
f716db85d91e
parent 37
d7e9a1200e21
child 39
9f7a835f4acc

fix dependencies in Makefile

src/Makefile file | annotate | diff | comparison | revisions
--- a/src/Makefile	Wed Feb 19 18:53:18 2025 +0100
+++ b/src/Makefile	Wed Feb 19 18:53:31 2025 +0100
@@ -40,7 +40,7 @@
 
 FORCE:
 
-../build/heatmap.o: heatmap.cpp heatmap.h
+../build/heatmap.o: heatmap.cpp heatmap.h settings.h
 	@echo "Compiling $<"
 	$(CXX) -o $@ $(CXXFLAGS)  -c $<
 
@@ -61,7 +61,7 @@
 	@echo "Compiling $<"
 	$(CXX) -o $@ $(CXXFLAGS)  -c $<
 
-../build/settings.o: settings.cpp
+../build/settings.o: settings.cpp settings.h
 	@echo "Compiling $<"
 	$(CXX) -o $@ $(CXXFLAGS)  -c $<
 

mercurial