projects
/
selector.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Converted the source to pure C instead of bastardized C++.
[selector.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
8e18fe3
..
bdc1863
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-26,7
+26,7
@@
MAN_PATH = /usr/share/man/man1
LDFLAGS=-lcurses
LDFLAGS=-lcurses
-REVISION_NUMBER=
$(shell cat REVISION_NUMBER)
+REVISION_NUMBER=
\"$(shell cat REVISION_NUMBER)\"
ifeq ($(DEBUG),yes)
OPTIMIZE_FLAG = -ggdb3 -DDEBUG -fno-omit-frame-pointer
ifeq ($(DEBUG),yes)
OPTIMIZE_FLAG = -ggdb3 -DDEBUG -fno-omit-frame-pointer
@@
-34,12
+34,12
@@
else
OPTIMIZE_FLAG = -ggdb3 -O3
endif
OPTIMIZE_FLAG = -ggdb3 -O3
endif
-C
XX
FLAGS = -DREVISION_NUMBER=$(REVISION_NUMBER) -Wall $(OPTIMIZE_FLAG)
+CFLAGS = -DREVISION_NUMBER=$(REVISION_NUMBER) -Wall $(OPTIMIZE_FLAG)
all: selector
selector: selector.o
all: selector
selector: selector.o
- $(C
XX
) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+ $(C
C
) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
install: selector
install -m 755 selector $(BINARY_PATH)
install: selector
install -m 755 selector $(BINARY_PATH)