aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/makefile b/makefile
index 2aff497..41a2928 100644
--- a/makefile
+++ b/makefile
@@ -1,9 +1,8 @@
1LIBNAME = lpeg 1LIBNAME = lpeg
2LUADIR = ./lua/ 2LUADIR = ./lua/
3 3
4# COPT = -O2 -DNDEBUG 4COPT = -O2 -DNDEBUG
5# COPT = -g 5# COPT = -O0 -DLPEG_DEBUG -g
6COPT = -O0 -DLPEG_DEBUG -g
7 6
8CWARNS = -Wall -Wextra -pedantic \ 7CWARNS = -Wall -Wextra -pedantic \
9 -Waggregate-return \ 8 -Waggregate-return \
@@ -12,14 +11,17 @@ CWARNS = -Wall -Wextra -pedantic \
12 -Wdisabled-optimization \ 11 -Wdisabled-optimization \
13 -Wpointer-arith \ 12 -Wpointer-arith \
14 -Wshadow \ 13 -Wshadow \
14 -Wredundant-decls \
15 -Wsign-compare \ 15 -Wsign-compare \
16 -Wundef \ 16 -Wundef \
17 -Wwrite-strings \ 17 -Wwrite-strings \
18 -Wbad-function-cast \ 18 -Wbad-function-cast \
19 -Wdeclaration-after-statement \ 19 -Wdeclaration-after-statement \
20 -Wmissing-prototypes \ 20 -Wmissing-prototypes \
21 -Wmissing-declarations \
21 -Wnested-externs \ 22 -Wnested-externs \
22 -Wstrict-prototypes \ 23 -Wstrict-prototypes \
24 -Wc++-compat \
23# -Wunreachable-code \ 25# -Wunreachable-code \
24 26
25 27