diff --git a/Makefile b/Makefile index 35730c2..0b98223 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,12 @@ DMRGateway: GitVersion.h $(OBJECTS) %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< +DMRGateway.o: GitVersion.h FORCE + +.PHONY: GitVersion.h + +FORCE: + clean: $(RM) DMRGateway *.o *.d *.bak *~ GitVersion.h