projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move a few prototypes and static'ed a few functions
[open-adventure.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 08ec4884744d28ac0cd2de5d512bc0eba59b5494..b0b06b95c7f24896df0d99cafd81848fcbc9c88b 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-26,6
+26,8
@@
VERS=1.0
CC?=gcc
CCFLAGS+=-std=c99 -D _DEFAULT_SOURCE -Wall -Wpedantic -Wextra -g
CC?=gcc
CCFLAGS+=-std=c99 -D _DEFAULT_SOURCE -Wall -Wpedantic -Wextra -g
+CCFLAGS+=-Wstrict-prototypes
+CCFLAGS+=-Wmissing-prototypes
LIBS=
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
LIBS=
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
@@
-75,6
+77,7
@@
clean:
rm -f newdb.c newdb.h
rm -f README advent.6 MANIFEST *.tar.gz
rm -f *~
rm -f newdb.c newdb.h
rm -f README advent.6 MANIFEST *.tar.gz
rm -f *~
+ rm -f .*~
cd tests; $(MAKE) --quiet clean
check: advent
cd tests; $(MAKE) --quiet clean
check: advent