Use current date (yymmdd) as revision number.

This commit is contained in:
Steve 2015-11-16 17:18:01 +00:00
parent 04d196af7f
commit 928b00749d
1 changed files with 1 additions and 1 deletions

View File

@ -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)