Ticket #38562: patch-makefile.diff
File patch-makefile.diff, 669 bytes (added by andremm@…, 12 years ago) |
---|
-
makefile
old new 1 1 LIBNAME = lpeg 2 LUADIR = /usr/include/lua5.1/2 LUADIR = @@PREFIX@@/include 3 3 4 4 COPT = -O2 5 5 # COPT = -DLPEG_DEBUG -g … … 23 23 24 24 25 25 CFLAGS = $(CWARNS) $(COPT) -ansi -I$(LUADIR) -fPIC 26 CC = gcc26 CC = @@COMPILER@@ 27 27 28 28 # For Linux 29 DLLFLAGS = -shared -fPIC30 ENV =29 # DLLFLAGS = -shared -fPIC 30 # ENV = 31 31 32 32 # For Mac OS 33 #ENV = MACOSX_DEPLOYMENT_TARGET=10.434 #DLLFLAGS = -bundle -undefined dynamic_lookup33 ENV = MACOSX_DEPLOYMENT_TARGET=10.4 34 DLLFLAGS = -bundle -undefined dynamic_lookup 35 35 36 36 37 37 FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o