aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2005-10-05 03:20:22 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2005-10-05 03:20:22 +0000
commit562d8cceb704a96a7b2f9acc4bc229ab9f5c6541 (patch)
treebf8b813e1d4813c2c20933d3fa3e670ba82f9815
parent64d7b02490042b0434a69e663b8c59a54345f607 (diff)
downloadluasocket-562d8cceb704a96a7b2f9acc4bc229ab9f5c6541.tar.gz
luasocket-562d8cceb704a96a7b2f9acc4bc229ab9f5c6541.tar.bz2
luasocket-562d8cceb704a96a7b2f9acc4bc229ab9f5c6541.zip
Default config is for Linux.
-rw-r--r--config26
1 files 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)
15#------ 15#------
16# Lua includes and libraries 16# Lua includes and libraries
17# 17#
18LUAINC= 18LUAINC=-Ilua-5.0.2/include
19LUALIB= 19LUALIB=-Llua-5.0.2/lib
20 20
21#------ 21#------
22# Compat-5.1 directory 22# Compat-5.1 directory
@@ -37,18 +37,20 @@ INSTALL_EXEC=cp
37# Compiler and linker settings 37# Compiler and linker settings
38# for Mac OS X 38# for Mac OS X
39# 39#
40CC=gcc
41DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
42CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
43LDFLAGS=-bundle -undefined dynamic_lookup
44LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
45
46# for Linux
47#CC=gcc 40#CC=gcc
48#DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN 41#DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
49#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic 42#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
50#LDFLAGS=-O -shared 43#LDFLAGS=-bundle -undefined dynamic_lookup
51#LD=gcc 44#LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
45
46#------
47# Compiler and linker settings
48# for Linux
49CC=gcc
50DEF=-DLUASOCKET_DEBUG
51CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic
52LDFLAGS=-O -shared
53LD=gcc
52 54
53#------ 55#------
54# End of makefile configuration 56# End of makefile configuration