diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,11 +29,11 @@ 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 lpeg.so "DLLFLAGS = -shared -fPIC" | 32 | $(MAKE) lpeg.so "DLLFLAGS = -shared -fPIC" |
33 | 33 | ||
34 | # For Mac OS | 34 | # For Mac OS |
35 | macosx: | 35 | macosx: |
36 | make lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup" | 36 | $(MAKE) lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup" |
37 | 37 | ||
38 | lpeg.so: $(FILES) | 38 | lpeg.so: $(FILES) |
39 | env $(CC) $(DLLFLAGS) $(FILES) -o lpeg.so | 39 | env $(CC) $(DLLFLAGS) $(FILES) -o lpeg.so |