diff options
author | Sergio Queiroz <sqmedeiros@gmail.com> | 2017-06-23 13:47:31 -0300 |
---|---|---|
committer | Sergio Queiroz <sqmedeiros@gmail.com> | 2017-06-23 13:47:31 -0300 |
commit | f33d1dab5cc39b3bb7ae90da678c9a709c47e0d2 (patch) | |
tree | b39eedb27d3483c64694a38701b25750c9a10453 | |
parent | ce152c9d10b57b8a7d33ea7ec695c037b0028f40 (diff) | |
parent | 1ec65699002a78acf1111826c37463f3cdf3afcd (diff) | |
download | lpeglabel-f33d1dab5cc39b3bb7ae90da678c9a709c47e0d2.tar.gz lpeglabel-f33d1dab5cc39b3bb7ae90da678c9a709c47e0d2.tar.bz2 lpeglabel-f33d1dab5cc39b3bb7ae90da678c9a709c47e0d2.zip |
Merge branch 'master' of https://github.com/sqmedeiros/lpeglabel
-rw-r--r-- | makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -26,7 +26,9 @@ 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 = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o |
29 | 29 | # For Windows | |
30 | windows: | ||
31 | make lpeglabel.dll "DLLFLAGS = -shared -fPIC" | ||
30 | # For Linux | 32 | # For Linux |
31 | linux: | 33 | linux: |
32 | make lpeglabel.so "DLLFLAGS = -shared -fPIC" | 34 | make lpeglabel.so "DLLFLAGS = -shared -fPIC" |
@@ -37,6 +39,8 @@ macosx: | |||
37 | 39 | ||
38 | lpeglabel.so: $(FILES) | 40 | lpeglabel.so: $(FILES) |
39 | env $(CC) $(DLLFLAGS) $(FILES) -o lpeglabel.so | 41 | env $(CC) $(DLLFLAGS) $(FILES) -o lpeglabel.so |
42 | lpeglabel.dll: $(FILES) | ||
43 | $(CC) $(DLLFLAGS) $(FILES) -o lpeglabel.dll $(LUADIR)/bin/lua53.dll | ||
40 | 44 | ||
41 | $(FILES): makefile | 45 | $(FILES): makefile |
42 | 46 | ||