projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e2a9dd
)
antimake: automatically use WFLAGS
author
Marko Kreen
<markokr@gmail.com>
Mon, 12 Dec 2011 22:39:54 +0000
(
00:39
+0200)
committer
Marko Kreen
<markokr@gmail.com>
Mon, 12 Dec 2011 22:39:54 +0000
(
00:39
+0200)
mk/antimake.mk
patch
|
blob
|
blame
|
history
diff --git
a/mk/antimake.mk
b/mk/antimake.mk
index 7fefa86980426e3cea6aec5571c2cb64c16b9b70..26c9935afff0d61edf14c13a0656c4c732557293 100755
(executable)
--- a/
mk/antimake.mk
+++ b/
mk/antimake.mk
@@
-176,12
+176,17
@@
CPP ?= cpp
CPPFLAGS ?=
CFLAGS ?= -O -g
DEFS ?=
-WFLAGS ?= -Wall
# C++ language
CXX ?= c++
CXXFLAGS ?= -O -g
+# warning flags are keps separately to allow easy override
+WFLAGS ?= -Wall
+# add them to main flags now
+CFLAGS += $(WFLAGS)
+CXXFLAGS += $(WFLAGS)
+
# linking
LD ?= ld
LDFLAGS ?=