projects
/
selector.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics.
[selector.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
b723ea1
..
9838c51
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-23,13
+23,15
@@
LDFLAGS=-lcurses
LDFLAGS=-lcurses
+REVISION_NUMBER=$(shell git log | grep ^commit | wc -l)
+
ifeq ($(DEBUG),yes)
OPTIMIZE_FLAG = -ggdb3 -DDEBUG
else
OPTIMIZE_FLAG = -ggdb3 -O3
endif
ifeq ($(DEBUG),yes)
OPTIMIZE_FLAG = -ggdb3 -DDEBUG
else
OPTIMIZE_FLAG = -ggdb3 -O3
endif
-CXXFLAGS = -Wall $(OPTIMIZE_FLAG)
+CXXFLAGS = -
DREVISION_NUMBER=$(REVISION_NUMBER) -
Wall $(OPTIMIZE_FLAG)
all: selector
all: selector