Use current date (yymmdd) as revision number.
This commit is contained in:
parent
04d196af7f
commit
928b00749d
2
makefile
2
makefile
|
@ -1,7 +1,7 @@
|
||||||
PROG = tbftss
|
PROG = tbftss
|
||||||
|
|
||||||
VERSION = 0.3
|
VERSION = 0.3
|
||||||
REVISION := $(shell git rev-list --count HEAD)
|
REVISION = $(shell date +"%y%m%d")
|
||||||
DEBUG = 0
|
DEBUG = 0
|
||||||
|
|
||||||
CXXFLAGS += `sdl2-config --cflags` -DVERSION=$(VERSION) -DREVISION=$(REVISION) -DUNIX=1 -DDEBUG=$(DEBUG)
|
CXXFLAGS += `sdl2-config --cflags` -DVERSION=$(VERSION) -DREVISION=$(REVISION) -DUNIX=1 -DDEBUG=$(DEBUG)
|
||||||
|
|
Loading…
Reference in New Issue