projects
/
breezed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a bug for level 0 which must now be defined in the configuration file.
[breezed.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
624d723
..
ae15304
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-22,10
+22,12
@@
BINARY_PATH = /usr/bin
MAN_PATH = /usr/share/man/man1
PM_SLEEPD = /usr/lib/pm-utils/sleep.d
MAN_PATH = /usr/share/man/man1
PM_SLEEPD = /usr/lib/pm-utils/sleep.d
+CFLAGS = -Wall -ansi -pedantic -DREVISION_NUMBER=$(REVISION_NUMBER) $(OPTIMIZE_FLAG)
+
all: breezed
all: breezed
-breezed: breezed.c
c
- g++ -o breezed breezed.cc
+breezed: breezed.c
+ $(CC) -o $@ $^ $(LDFLAGS)
install: breezed /etc/breezed.conf
install -m 755 breezed $(BINARY_PATH)
install: breezed /etc/breezed.conf
install -m 755 breezed $(BINARY_PATH)