Added support for Win32 git version string generation
authorhogthrob <hogthrob@github.com>
Mon, 25 Aug 2014 07:40:59 +0000 (09:40 +0200)
committerhogthrob <hogthrob@github.com>
Mon, 25 Aug 2014 07:40:59 +0000 (09:40 +0200)
src/makefile

index df7f9eb..54524d5 100644 (file)
@@ -47,7 +47,7 @@ endif
 ifneq "$(OS)" "Windows_NT"
 DEFINES += -D__GITVERSIONSTRING__=\"$(shell ./generate-version.sh)\"
 else
-DEFINES += -D__GITVERSIONSTRING__=\"placeholder\"
+DEFINES += -D__GITVERSIONSTRING__=\"$(shell generate-version.bat)\"
 endif
 
 # use c++11 features for the checksums and set default baud rate for serial uart