diff options
author | Alexey Romanoff <ar@logiceditor.com> | 2021-08-15 15:17:28 +0300 |
---|---|---|
committer | Alexey Romanoff <ar@logiceditor.com> | 2021-08-16 16:35:07 +0300 |
commit | 7668d9076da6e2ae9e220eafb5c6ee1e933c088d (patch) | |
tree | c2d8e3bdd0d6d189572bd50d8d9a078097fcc3b5 /makefile | |
parent | 635a51b5c88e958c27b26e049c639ea774946367 (diff) | |
download | lpeglabel-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-- | makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -25,7 +25,7 @@ CWARNS = -Wall -Wextra -pedantic \ | |||
25 | CFLAGS = $(CWARNS) $(COPT) -std=c99 -I$(LUADIR) -fPIC | 25 | CFLAGS = $(CWARNS) $(COPT) -std=c99 -I$(LUADIR) -fPIC |
26 | CC = gcc | 26 | CC = gcc |
27 | 27 | ||
28 | FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o | 28 | FILES = lplvm.o lplcap.o lpltree.o lplcode.o lplprint.o |
29 | # For Linux | 29 | # For Linux |
30 | linux: | 30 | linux: |
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 | ||
57 | lpcap.o: lpcap.c lpcap.h lptypes.h | 57 | lplcap.o: lplcap.c lplcap.h lpltypes.h |
58 | lpcode.o: lpcode.c lptypes.h lpcode.h lptree.h lpvm.h lpcap.h | 58 | lplcode.o: lplcode.c lpltypes.h lplcode.h lpltree.h lplvm.h lplcap.h |
59 | lpprint.o: lpprint.c lptypes.h lpprint.h lptree.h lpvm.h lpcap.h | 59 | lplprint.o: lplprint.c lpltypes.h lplprint.h lpltree.h lplvm.h lplcap.h |
60 | lptree.o: lptree.c lptypes.h lpcap.h lpcode.h lptree.h lpvm.h lpprint.h | 60 | lpltree.o: lpltree.c lpltypes.h lplcap.h lplcode.h lpltree.h lplvm.h lplprint.h |
61 | lpvm.o: lpvm.c lpcap.h lptypes.h lpvm.h lpprint.h lptree.h | 61 | lplvm.o: lplvm.c lplcap.h lpltypes.h lplvm.h lplprint.h lpltree.h |
62 | 62 | ||