diff --git a/APRS/Makefile b/APRS/Makefile index d72b824..6b19ae7 100644 --- a/APRS/Makefile +++ b/APRS/Makefile @@ -7,6 +7,7 @@ APRS.a: $(OBJS) %.o : %.cpp $(CC) -I../BaseCommon $(CPPFLAGS) -MMD -MD -c $< -o $@ +-include $(DEPS) clean: $(RM) *.o *.d APRS.a \ No newline at end of file diff --git a/BaseCommon/Makefile b/BaseCommon/Makefile index dc769f0..af2f48b 100644 --- a/BaseCommon/Makefile +++ b/BaseCommon/Makefile @@ -7,6 +7,7 @@ BaseCommon.a: $(OBJS) %.o : %.cpp $(CC) $(CPPFLAGS) -MMD -MD -c $< -o $@ +-include $(DEPS) clean: $(RM) *.o *.d BaseCommon.a \ No newline at end of file diff --git a/Common/Makefile b/Common/Makefile index f04541f..117dd3f 100644 --- a/Common/Makefile +++ b/Common/Makefile @@ -7,6 +7,7 @@ Common.a: $(OBJS) ../APRS/APRS.a ../BaseCommon/BaseCommon.a ../DStarBase/DStarBa %.o : %.cpp $(CC) -I../APRS -I../BaseCommon -I../DStarBase -I../IRCDDB -I../VersionInfo $(CPPFLAGS) -MMD -MD -c $< -o $@ +-include $(DEPS) .PHONY clean: clean: diff --git a/DGWRemoteControl/Makefile b/DGWRemoteControl/Makefile index cb7396a..f5646b4 100644 --- a/DGWRemoteControl/Makefile +++ b/DGWRemoteControl/Makefile @@ -7,6 +7,7 @@ dgwremotecontrol: ../VersionInfo/GitVersion.h $(OBJS) ../DStarBase/DStarBase.a . %.o : %.cpp $(CC) -I../Common -I../BaseCommon -I../DStarBase -I../VersionInfo -DCFG_DIR='"$(CFG_DIR)"' $(CPPFLAGS) -MMD -MD -c $< -o $@ +-include $(DEPS) .PHONY clean: clean: diff --git a/DGWTextTransmit/Makefile b/DGWTextTransmit/Makefile index d209f9e..5fb8f18 100644 --- a/DGWTextTransmit/Makefile +++ b/DGWTextTransmit/Makefile @@ -7,6 +7,7 @@ dgwtexttransmit: ../VersionInfo/GitVersion.h $(OBJS) ../DStarBase/DStarBase.a .. %.o : %.cpp $(CC) -I../BaseCommon -I../DStarBase -I../VersionInfo -DCFG_DIR='"$(CFG_DIR)"' $(CPPFLAGS) -MMD -MD -c $< -o $@ +-include $(DEPS) .PHONY clean: clean: diff --git a/DGWTimeServer/Makefile b/DGWTimeServer/Makefile index 87b80ab..066de4b 100644 --- a/DGWTimeServer/Makefile +++ b/DGWTimeServer/Makefile @@ -7,6 +7,7 @@ dgwtimeserver: ../VersionInfo/GitVersion.h $(OBJS) ../DStarBase/DStarBase.a ../B %.o : %.cpp $(CC) -I../BaseCommon -I../DStarBase -I../VersionInfo $(CPPFLAGS) -MMD -MD -c $< -o $@ +-include $(DEPS) .PHONY clean: clean: diff --git a/DGWVoiceTransmit/Makefile b/DGWVoiceTransmit/Makefile index d214adb..5953191 100644 --- a/DGWVoiceTransmit/Makefile +++ b/DGWVoiceTransmit/Makefile @@ -7,6 +7,7 @@ dgwvoicetransmit: ../VersionInfo/GitVersion.h $(OBJS) ../DStarBase/DStarBase.a . %.o : %.cpp $(CC) -I../BaseCommon -I../APRS -I../DStarBase -I../VersionInfo -DCFG_DIR='"$(CFG_DIR)"' $(CPPFLAGS) -MMD -MD -c $< -o $@ +-include $(DEPS) .PHONY clean: clean: diff --git a/DStarBase/Makefile b/DStarBase/Makefile index c6e019d..3ae60f3 100644 --- a/DStarBase/Makefile +++ b/DStarBase/Makefile @@ -7,6 +7,7 @@ DStarBase.a: $(OBJS) %.o : %.cpp $(CC) -I../BaseCommon $(CPPFLAGS) -MMD -MD -c $< -o $@ +-include $(DEPS) clean: $(RM) *.o *.d DStarBase.a diff --git a/DStarGateway/Makefile b/DStarGateway/Makefile index 03b2ea3..3487334 100644 --- a/DStarGateway/Makefile +++ b/DStarGateway/Makefile @@ -7,6 +7,7 @@ dstargateway: ../VersionInfo/GitVersion.h $(OBJS) ../APRS/APRS.a ../IRCDDB/IRCDD %.o : %.cpp $(CC) -I../APRS -I../Common -I../BaseCommon -I../DStarBase -I../IRCDDB -I../VersionInfo $(CPPFLAGS) -MMD -MD -c $< -o $@ +-include $(DEPS) .PHONY clean: clean: diff --git a/IRCDDB/Makefile b/IRCDDB/Makefile index d84f384..f498694 100644 --- a/IRCDDB/Makefile +++ b/IRCDDB/Makefile @@ -7,6 +7,7 @@ IRCDDB.a: $(OBJS) ../VersionInfo/GitVersion.h ../BaseCommon/BaseCommon.a %.o : %.cpp $(CC) -I../BaseCommon -I../VersionInfo $(CPPFLAGS) -MMD -MD -c $< -o $@ +-include $(DEPS) .PHONY clean: clean: diff --git a/VersionInfo/Makefile b/VersionInfo/Makefile index 0753691..c6c5eed 100644 --- a/VersionInfo/Makefile +++ b/VersionInfo/Makefile @@ -20,4 +20,6 @@ endif clean: $(RM) *.o *.d GitVersion.h +.PHONY: FORCE FORCE: + @true