From 562d8cceb704a96a7b2f9acc4bc229ab9f5c6541 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Wed, 5 Oct 2005 03:20:22 +0000 Subject: [PATCH] Default config is for Linux. --- config | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/config b/config index 8394af3..175a885 100644 --- a/config +++ b/config @@ -15,8 +15,8 @@ UNIX_SO=unix.$(EXT) #------ # Lua includes and libraries # -LUAINC= -LUALIB= +LUAINC=-Ilua-5.0.2/include +LUALIB=-Llua-5.0.2/lib #------ # Compat-5.1 directory @@ -37,18 +37,20 @@ INSTALL_EXEC=cp # Compiler and linker settings # for Mac OS X # -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 - -# for Linux #CC=gcc #DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN -#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic -#LDFLAGS=-O -shared -#LD=gcc +#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 +LD=gcc #------ # End of makefile configuration