From cb4505be17f3bb0f5726953d127227328ea08e67 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 23 May 2017 15:41:22 +0200 Subject: [PATCH] Always recompile DMRGateway.o to contain latest git ID --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 8cef91a..0b98223 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +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