From e381bde1ea74552c227e33dbb0c73a2fade897f6 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Tue, 12 Jun 2007 00:06:29 +0000 Subject: Modified and tested on Linux. --- config | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'config') diff --git a/config b/config index 6fd1646..49958eb 100644 --- a/config +++ b/config @@ -17,7 +17,7 @@ UNIX_SO=unix.$(EXT) # #LUAINC=-I/usr/local/include/lua50 #LUAINC=-I/usr/local/include/lua5.1 -LUAINC=-Ilua-5.1.1/src +#LUAINC=-Ilua-5.1.1/src #------ # Compat-5.1 directory @@ -40,20 +40,20 @@ INSTALL_EXEC=cp # Compiler and linker settings # for Mac OS X # -CC=gcc -DEF= -DAAA -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN -CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common -LDFLAGS=-bundle -undefined dynamic_lookup -LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc +#CC=gcc +#DEF= -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN +#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common +#LDFLAGS=-bundle -undefined dynamic_lookup +#LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc #------ # Compiler and linker settings # for Linux -#CC=gcc -#DEF=-DLUASOCKET_DEBUG -#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic -#LDFLAGS=-O -shared -fpic -#LD=gcc +CC=gcc +DEF=-DLUASOCKET_DEBUG +CFLAGS= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic +LDFLAGS=-O -shared -fpic +LD=gcc #------ # End of makefile configuration -- cgit v1.2.3-55-g6feb