Files
Po-Chuan Hsieh 5c603a1731 devel/lua-lpeg: Update to 1.1.0
- Update MASTER_SITES
- Update WWW

Changes:	https://github.com/roberto-ieru/LPeg/blob/master/HISTORY
2023-07-09 18:18:19 +08:00

21 lines
453 B
Plaintext

--- makefile.orig 2023-06-26 16:30:55 UTC
+++ makefile
@@ -1,5 +1,5 @@
LIBNAME = lpeg
-LUADIR = ./lua/
+LUADIR ?= ./lua/
COPT = -O2 -DNDEBUG
# COPT = -O0 -DLPEG_DEBUG -g
@@ -25,8 +25,8 @@ CWARNS = -Wall -Wextra -pedantic \
# -Wunreachable-code \
-CFLAGS = $(CWARNS) $(COPT) -std=c99 -I$(LUADIR) -fPIC
-CC = gcc
+CFLAGS += $(CWARNS) $(COPT) -std=c99 -I$(LUADIR) -fPIC
+CC ?= gcc
FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o lpcset.o