aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index d803c12..9518034 100644
--- a/makefile
+++ b/makefile
@@ -29,11 +29,11 @@ FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o
29 29
30# For Linux 30# For Linux
31linux: 31linux:
32 make lpeg.so "DLLFLAGS = -shared -fPIC" 32 $(MAKE) lpeg.so "DLLFLAGS = -shared -fPIC"
33 33
34# For Mac OS 34# For Mac OS
35macosx: 35macosx:
36 make lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup" 36 $(MAKE) lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
37 37
38lpeg.so: $(FILES) 38lpeg.so: $(FILES)
39 env $(CC) $(DLLFLAGS) $(FILES) -o lpeg.so 39 env $(CC) $(DLLFLAGS) $(FILES) -o lpeg.so