projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b516121
)
More validation, with -Wall and -Wextra.
author
Eric S. Raymond
<esr@thyrsus.com>
Tue, 4 Jun 2024 01:12:41 +0000
(21:12 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Tue, 4 Jun 2024 01:12:41 +0000
(21:12 -0400)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 0da7fb82e18aca671880fd84ecdad41390d7088f..a7acbd8538b19ea49c03f7ad9269f8236b383327 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-12,7
+12,7
@@
VERS=$(shell sed -n <NEWS.adoc '/^[0-9]/s/:.*//p' | head -1)
.PHONY: check coverage
CC?=gcc
-CCFLAGS+=-std=c99 -D_DEFAULT_SOURCE -DVERSION=\"$(VERS)\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all $(CFLAGS) -g $(EXTRA)
+CCFLAGS+=-std=c99 -
Wall -Wextra -
D_DEFAULT_SOURCE -DVERSION=\"$(VERS)\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all $(CFLAGS) -g $(EXTRA)
LIBS=$(shell pkg-config --libs libedit)
INC+=$(shell pkg-config --cflags libedit)