diff options
| author | Sergio Queiroz <sqmedeiros@gmail.com> | 2016-12-13 13:53:49 -0300 |
|---|---|---|
| committer | Sergio Queiroz <sqmedeiros@gmail.com> | 2016-12-13 13:53:49 -0300 |
| commit | 09fab0decb7df93528ab40fcfd99587e9074c64f (patch) | |
| tree | ecd7a763c7a08712f122945bb5ce1ed7d7e5f077 /makefile | |
| parent | d80821d79376671371c15ded562fbe1a9bebc635 (diff) | |
| parent | 1322d612d72ac658f2aa443dca94954b819c0993 (diff) | |
| download | lpeglabel-09fab0decb7df93528ab40fcfd99587e9074c64f.tar.gz lpeglabel-09fab0decb7df93528ab40fcfd99587e9074c64f.tar.bz2 lpeglabel-09fab0decb7df93528ab40fcfd99587e9074c64f.zip | |
Merge branch 'recoveryresume'
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | LIBNAME = lpeglabel | 1 | LIBNAME = lpeglabelrec |
| 2 | LUADIR = ../lua/ | 2 | LUADIR = ../lua/ |
| 3 | 3 | ||
| 4 | COPT = -O2 | 4 | COPT = -O2 |
| @@ -29,24 +29,24 @@ FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o | |||
| 29 | 29 | ||
| 30 | # For Linux | 30 | # For Linux |
| 31 | linux: | 31 | linux: |
| 32 | make lpeglabel.so "DLLFLAGS = -shared -fPIC" | 32 | make lpeglabelrec.so "DLLFLAGS = -shared -fPIC" |
| 33 | 33 | ||
| 34 | # For Mac OS | 34 | # For Mac OS |
| 35 | macosx: | 35 | macosx: |
| 36 | make lpeglabel.so "DLLFLAGS = -bundle -undefined dynamic_lookup" | 36 | make lpeglabelrec.so "DLLFLAGS = -bundle -undefined dynamic_lookup" |
| 37 | 37 | ||
| 38 | lpeglabel.so: $(FILES) | 38 | lpeglabelrec.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 | ||
| 43 | test: test.lua testlabel.lua testerrors.lua relabel.lua lpeglabel.so | 43 | test: 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 | ||
| 48 | clean: | 48 | clean: |
| 49 | rm -f $(FILES) lpeglabel.so | 49 | rm -f $(FILES) lpeglabelrec.so |
| 50 | 50 | ||
| 51 | 51 | ||
| 52 | lpcap.o: lpcap.c lpcap.h lptypes.h | 52 | lpcap.o: lpcap.c lpcap.h lptypes.h |
