Browse Source

revert Makefile.win changes (cannot compile locally anymore)

Simon Krajewski 10 years ago
parent
commit
4f8f6a99dd
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Makefile.win

+ 6 - 0
Makefile.win

@@ -5,6 +5,12 @@ EXTENSION=.exe
 
 OCAMLOPT=ocamlopt.opt
 
+ifneq ($(ADD_REVISION),0)
+	VERSION_EXTRA=let version_extra = Some " (git build $(shell git rev-parse --abbrev-ref HEAD) @ $(shell git describe --always)) "
+else
+	VERSION_EXTRA=let version_extra = None
+endif
+
 kill:
 	-@taskkill /F /IM haxe.exe