2008-03-14 16:04:34 +03:00
|
|
|
VERS = hg$$(hg identify -n)
|
2008-11-16 10:50:55 +03:00
|
|
|
VERS = hg$$(hg log -r $$(hg id 2>/dev/null | awk -F'[+ ]' '{print $$1}') --template '{rev}' 2>/dev/null)
|
2008-03-14 16:04:34 +03:00
|
|
|
VERSION = $(VERS)
|
2008-11-16 10:50:55 +03:00
|
|
|
VERSION := $(shell echo $(VERS))
|
|
|
|
VERSION != echo $(VERS)
|
2009-08-04 00:33:23 +04:00
|
|
|
CONFVERSION = -hg
|
2009-09-17 17:27:11 +04:00
|
|
|
COPYRIGHT = ©2009 Kris Maglione
|
|
|
|
CFLAGS += '-DVERSION=\"$(VERSION)\"' '-DCOPYRIGHT=\"$(COPYRIGHT)\"'
|
2008-06-02 19:58:27 +04:00
|
|
|
|