add git commit hash to mingw build as well
This commit is contained in:
parent
67e4c664f6
commit
f3ba703444
4 changed files with 4 additions and 15 deletions
2
Makefile
2
Makefile
|
@ -1,6 +1,8 @@
|
|||
-include config.mk
|
||||
|
||||
TARGET = ddraw.dll
|
||||
GIT_REV := $(shell git rev-parse --short @{0} || echo "UNKNOWN")
|
||||
GIT_FILE := $(shell echo "#define GIT_COMMIT" $(GIT_REV) > inc/version_tmp.h)
|
||||
LDFLAGS = -Wl,--enable-stdcall-fixup -s -static -shared
|
||||
CFLAGS = -Iinc -O2 -march=i486 -Wall
|
||||
LIBS = -lgdi32 -lwinmm -ldbghelp -lole32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue