aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorAlexey Romanoff <ar@logiceditor.com>2021-08-15 15:17:28 +0300
committerAlexey Romanoff <ar@logiceditor.com>2021-08-16 16:35:07 +0300
commit7668d9076da6e2ae9e220eafb5c6ee1e933c088d (patch)
treec2d8e3bdd0d6d189572bd50d8d9a078097fcc3b5 /makefile
parent635a51b5c88e958c27b26e049c639ea774946367 (diff)
downloadlpeglabel-7668d9076da6e2ae9e220eafb5c6ee1e933c088d.tar.gz
lpeglabel-7668d9076da6e2ae9e220eafb5c6ee1e933c088d.tar.bz2
lpeglabel-7668d9076da6e2ae9e220eafb5c6ee1e933c088d.zip
change prefix of source files from 'lp' to 'lpl'
To eliminate conflicts with the original LPeg: > $ lua -e "require 'lpeg'; require 'lpeglabel'; for _ in (require'lxsh').lexers.lua.gmatch('1') do end" lua: lpvm.c:347: match: Assertion `stack > getstackbase(L, ptop) && (stack - 1)->s != NULL' failed. Aborted
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/makefile b/makefile
index c06ab86..bf4aa80 100644
--- a/makefile
+++ b/makefile
@@ -25,7 +25,7 @@ CWARNS = -Wall -Wextra -pedantic \
25CFLAGS = $(CWARNS) $(COPT) -std=c99 -I$(LUADIR) -fPIC 25CFLAGS = $(CWARNS) $(COPT) -std=c99 -I$(LUADIR) -fPIC
26CC = gcc 26CC = gcc
27 27
28FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o 28FILES = lplvm.o lplcap.o lpltree.o lplcode.o lplprint.o
29# For Linux 29# For Linux
30linux: 30linux:
31 make lpeglabel.so "DLLFLAGS = -shared -fPIC" 31 make lpeglabel.so "DLLFLAGS = -shared -fPIC"
@@ -54,9 +54,9 @@ clean:
54 rm -f $(FILES) lpeglabel.so 54 rm -f $(FILES) lpeglabel.so
55 55
56 56
57lpcap.o: lpcap.c lpcap.h lptypes.h 57lplcap.o: lplcap.c lplcap.h lpltypes.h
58lpcode.o: lpcode.c lptypes.h lpcode.h lptree.h lpvm.h lpcap.h 58lplcode.o: lplcode.c lpltypes.h lplcode.h lpltree.h lplvm.h lplcap.h
59lpprint.o: lpprint.c lptypes.h lpprint.h lptree.h lpvm.h lpcap.h 59lplprint.o: lplprint.c lpltypes.h lplprint.h lpltree.h lplvm.h lplcap.h
60lptree.o: lptree.c lptypes.h lpcap.h lpcode.h lptree.h lpvm.h lpprint.h 60lpltree.o: lpltree.c lpltypes.h lplcap.h lplcode.h lpltree.h lplvm.h lplprint.h
61lpvm.o: lpvm.c lpcap.h lptypes.h lpvm.h lpprint.h lptree.h 61lplvm.o: lplvm.c lplcap.h lpltypes.h lplvm.h lplprint.h lpltree.h
62 62