diff options
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 8 |
1 files changed, 5 insertions, 3 deletions
| @@ -1,9 +1,8 @@ | |||
| 1 | LIBNAME = lpeg | 1 | LIBNAME = lpeg |
| 2 | LUADIR = ./lua/ | 2 | LUADIR = ./lua/ |
| 3 | 3 | ||
| 4 | # COPT = -O2 -DNDEBUG | 4 | COPT = -O2 -DNDEBUG |
| 5 | # COPT = -g | 5 | # COPT = -O0 -DLPEG_DEBUG -g |
| 6 | COPT = -O0 -DLPEG_DEBUG -g | ||
| 7 | 6 | ||
| 8 | CWARNS = -Wall -Wextra -pedantic \ | 7 | CWARNS = -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 | ||
