build: figure out git revision and include as part of version string

Signed-off-by: Vegard Nossum <[email protected]>
This commit is contained in:
Vegard Nossum committed 2009-06-11 10:24:12 +02:00
1 parent 98810091da
commit 74eea59208
3 files changed
+25 -2

No files matched your search

+3 -1
View File
@@ -1,4 +1,6 @@
cflags = -Wall -Iinclude -Iinclude/asm/gameboy -g
localversion = $(shell bash scripts/localversion.sh)
cflags = -Wall -Iinclude -Iinclude/asm/gameboy -DLOCALVERSION=\"$(localversion)\" -g
all: