From 70ae0b9ce53ce77666be976a51788e489af65fa5 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Tue, 10 Mar 2020 06:50:03 +0100 Subject: [PATCH] Fixed GitVersion.h not created on first build --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index dfbc010..c2c905e 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,7 @@ removehostfiles : /bin/rm -f $(CFGDIR)/DExtra_Hosts.txt /bin/rm -f $(CFGDIR)/DCS_Hosts.txt +.PHONY: GitVersion.h GitVersion.h: force ifneq ("$(wildcard .git/index)","") echo "const char *gitversion = \"$(shell git rev-parse HEAD)\";" > $@ @@ -65,5 +66,4 @@ else endif .PHONY: force -force: - @true \ No newline at end of file +force: \ No newline at end of file