mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-27 04:48:21 +01:00
Default config is for Linux.
This commit is contained in:
parent
64d7b02490
commit
562d8cceb7
26
config
26
config
@ -15,8 +15,8 @@ UNIX_SO=unix.$(EXT)
|
|||||||
#------
|
#------
|
||||||
# Lua includes and libraries
|
# Lua includes and libraries
|
||||||
#
|
#
|
||||||
LUAINC=
|
LUAINC=-Ilua-5.0.2/include
|
||||||
LUALIB=
|
LUALIB=-Llua-5.0.2/lib
|
||||||
|
|
||||||
#------
|
#------
|
||||||
# Compat-5.1 directory
|
# Compat-5.1 directory
|
||||||
@ -37,18 +37,20 @@ INSTALL_EXEC=cp
|
|||||||
# Compiler and linker settings
|
# Compiler and linker settings
|
||||||
# for Mac OS X
|
# 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
|
#CC=gcc
|
||||||
#DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
|
#DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
|
||||||
#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic
|
#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
|
||||||
#LDFLAGS=-O -shared
|
#LDFLAGS=-bundle -undefined dynamic_lookup
|
||||||
#LD=gcc
|
#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
|
# End of makefile configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user