aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorSergio Queiroz <sqmedeiros@gmail.com>2016-09-09 16:26:44 -0300
committerSergio Queiroz <sqmedeiros@gmail.com>2016-09-09 16:26:44 -0300
commita9c5a38994074d2c9c5da4cf081c4ca9fa8b3271 (patch)
tree3f060fb9f4280cd06a0c1ad376af1b36f95a8219 /makefile
parent7757aac333c5a37181f942d5f20223023cbdc207 (diff)
downloadlpeglabel-a9c5a38994074d2c9c5da4cf081c4ca9fa8b3271.tar.gz
lpeglabel-a9c5a38994074d2c9c5da4cf081c4ca9fa8b3271.tar.bz2
lpeglabel-a9c5a38994074d2c9c5da4cf081c4ca9fa8b3271.zip
Updating implementation of Recovery to follow Fabio's idea. Not compatible with labeled ordered choice
Diffstat (limited to 'makefile')
-rw-r--r--makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/makefile b/makefile
index 5728b38..414651e 100644
--- a/makefile
+++ b/makefile
@@ -1,4 +1,4 @@
1LIBNAME = lpeglabel 1LIBNAME = lpeglabelrec
2LUADIR = ../lua/ 2LUADIR = ../lua/
3 3
4COPT = -O2 4COPT = -O2
@@ -29,24 +29,24 @@ FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o
29 29
30# For Linux 30# For Linux
31linux: 31linux:
32 make lpeglabel.so "DLLFLAGS = -shared -fPIC" 32 make lpeglabelrec.so "DLLFLAGS = -shared -fPIC"
33 33
34# For Mac OS 34# For Mac OS
35macosx: 35macosx:
36 make lpeglabel.so "DLLFLAGS = -bundle -undefined dynamic_lookup" 36 make lpeglabelrec.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
37 37
38lpeglabel.so: $(FILES) 38lpeglabelrec.so: $(FILES)
39 env $(CC) $(DLLFLAGS) $(FILES) -o lpeglabel.so 39 env $(CC) $(DLLFLAGS) $(FILES) -o lpeglabelrec.so
40 40
41$(FILES): makefile 41$(FILES): makefile
42 42
43test: test.lua testlabel.lua testerrors.lua relabel.lua lpeglabel.so 43test: test.lua testlabel.lua testerrors.lua relabel.lua lpeglabelrec.so
44 lua test.lua 44 lua test.lua
45 lua testlabel.lua 45 lua testlabel.lua
46 lua testerrors.lua 46 lua testerrors.lua
47 47
48clean: 48clean:
49 rm -f $(FILES) lpeglabel.so 49 rm -f $(FILES) lpeglabelrec.so
50 50
51 51
52lpcap.o: lpcap.c lpcap.h lptypes.h 52lpcap.o: lpcap.c lpcap.h lptypes.h