add batch file for debug builds + some git related tweaks
This commit is contained in:
parent
d6b2249c78
commit
4d5882414c
4 changed files with 33 additions and 12 deletions
4
Makefile
4
Makefile
|
@ -5,9 +5,9 @@ LDFLAGS = -Wl,--enable-stdcall-fixup -s -static -shared
|
|||
CFLAGS = -Iinc -O2 -march=i486 -Wall
|
||||
LIBS = -lgdi32 -lwinmm -ldbghelp -lole32
|
||||
|
||||
REV := $(shell git describe --match=NeVeRmAtCh --always --abbrev=7 --dirty || echo "UNKNOWN")
|
||||
COMMIT := $(shell git describe --match=NeVeRmAtCh --always --dirty || echo "UNKNOWN")
|
||||
BRANCH := $(shell git rev-parse --abbrev-ref HEAD || echo "UNKNOWN")
|
||||
EREV := $(shell echo "#define GIT_COMMIT" $(REV) > inc/version_tmp.h)
|
||||
ECOMMIT := $(shell echo "#define GIT_COMMIT" $(COMMIT) > inc/version_tmp.h)
|
||||
EBRANCH := $(shell echo "#define GIT_BRANCH" $(BRANCH) >> inc/version_tmp.h)
|
||||
|
||||
CC = i686-w64-mingw32-gcc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue