summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2009-08-18 21:49:39 -0600
committerBdale Garbee <bdale@gag.com>2009-08-18 21:49:39 -0600
commitcd5ce661e2a8f9694933358ccb5b916fbed089c2 (patch)
treec5c120af64999c38926330212a588ff065a01f9b /src
parentd996aa9b32fb0eb385bd3d158256c29788a42fe3 (diff)
add support for building Debian package
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 297f676b..5a8afe0b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -4,7 +4,9 @@
#
CC=sdcc
+ifndef VERSION
VERSION=$(shell git describe)
+endif
CFLAGS=--model-small --debug --opt-code-speed