Adding Florian DF2ET fix Makefile and Windows compatibility

pull/14/head
Andy CA6JAU 9 years ago
parent 2a6dff1855
commit 3463eb03c9

@ -235,11 +235,17 @@ endif
# Export the current git version if the index file exists, else 000...
GitVersion.h: .FORCE
ifdef SYSTEMROOT
echo #define GITVERSION "0000000" > $@
else ifdef SystemRoot
echo #define GITVERSION "0000000" > $@
else
ifneq ("$(wildcard .git/index)","")
echo "#define GITVERSION \"$(shell git rev-parse --short HEAD)\"" > $@
else
echo "#define GITVERSION \"0000000\"" > $@
endif
endif
.FORCE:

Loading…
Cancel
Save

Powered by TurnKey Linux.