mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2026-01-11 11:09:58 +01:00
Adding Florian DF2ET fix Makefile and Windows compatibility
This commit is contained in:
parent
2a6dff1855
commit
3463eb03c9
6
Makefile
6
Makefile
|
|
@ -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…
Reference in a new issue