projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f762a9d
)
allow pass-in of VERSION, only call git describe if VERSION not set yet
author
Bdale Garbee
<bdale@gag.com>
Tue, 18 Aug 2009 06:08:30 +0000
(
00:08
-0600)
committer
Bdale Garbee
<bdale@gag.com>
Tue, 18 Aug 2009 06:08:30 +0000
(
00:08
-0600)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index 45d34ea47ebb125724ca3a2ae1b8efb3ef537170..5a8afe0b9a5859a55abd80e313973d307d06eefd 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-4,7
+4,9
@@
#
CC=sdcc
-VERSION=$(shell cat version)
+ifndef VERSION
+VERSION=$(shell git describe)
+endif
CFLAGS=--model-small --debug --opt-code-speed