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 --- README.md | 4 ++++ makefile | 8 +++++--- pack | 3 ++- 3 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..8c3fc86 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# LPeg + +For more information, +see [Lpeg](http://www.inf.puc-rio.br/~roberto/lpeg/). 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 \ diff --git a/pack b/pack index 4ebc4a6..ee38bc3 100755 --- a/pack +++ b/pack @@ -1,5 +1,6 @@ #!/bin/bash -FILES="makefile HISTORY test.lua re.lua lpeg.html re.html lpeg-128.gif \ +FILES="makefile HISTORY README.md test.lua re.lua \ + lpeg.html re.html lpeg-128.gif \ lptypes.h lpcap.h lpcap.c lpcode.h lpcode.c lpprint.h lpprint.c \ lptree.h lptree.c lpvm.h lpvm.c" NAME=lpeg-$1 -- cgit v1.2.3-55-g6feb