From 097bebd29949edf6ed7bd55d8fb21c477ac85236 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 23 Jun 2023 15:04:04 -0300 Subject: Added a README file --- makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 2aff497..41a2928 100644 --- a/makefile +++ b/makefile @@ -1,9 +1,8 @@ LIBNAME = lpeg LUADIR = ./lua/ -# COPT = -O2 -DNDEBUG -# COPT = -g -COPT = -O0 -DLPEG_DEBUG -g +COPT = -O2 -DNDEBUG +# COPT = -O0 -DLPEG_DEBUG -g CWARNS = -Wall -Wextra -pedantic \ -Waggregate-return \ @@ -12,14 +11,17 @@ CWARNS = -Wall -Wextra -pedantic \ -Wdisabled-optimization \ -Wpointer-arith \ -Wshadow \ + -Wredundant-decls \ -Wsign-compare \ -Wundef \ -Wwrite-strings \ -Wbad-function-cast \ -Wdeclaration-after-statement \ -Wmissing-prototypes \ + -Wmissing-declarations \ -Wnested-externs \ -Wstrict-prototypes \ + -Wc++-compat \ # -Wunreachable-code \ -- cgit v1.2.3-55-g6feb