aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config20
1 files changed, 11 insertions, 9 deletions
diff --git a/config b/config
index 6b779aa..b849b70 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=-Ilua-5.0.2/include 18LUAINC=-I/usr/local/include/lua50
19LUALIB=-Llua-5.0.2/lib 19#LUAINC=-I/usr/local/include/lua5.1
20 20
21#------ 21#------
22# Compat-5.1 directory 22# Compat-5.1 directory
@@ -27,8 +27,10 @@ COMPAT=compat-5.1r5
27# Top of your Lua installation 27# Top of your Lua installation
28# Relative paths will be inside the src tree 28# Relative paths will be inside the src tree
29# 29#
30INSTALL_TOP_SHARE=share 30INSTALL_TOP_SHARE=/usr/local/share/lua/5.0
31INSTALL_TOP_LIB=lib 31INSTALL_TOP_LIB=/usr/local/lib/lua/5.0
32#INSTALL_TOP_SHARE=/usr/local/share/lua/5.1
33#INSTALL_TOP_LIB=/usr/local/lib/lua/5.1
32 34
33INSTALL_DATA=cp 35INSTALL_DATA=cp
34INSTALL_EXEC=cp 36INSTALL_EXEC=cp
@@ -46,11 +48,11 @@ INSTALL_EXEC=cp
46#------ 48#------
47# Compiler and linker settings 49# Compiler and linker settings
48# for Linux 50# for Linux
49CC=gcc 51#CC=gcc
50DEF=-DLUASOCKET_DEBUG 52#DEF=-DLUASOCKET_DEBUG
51CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic 53#CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic
52LDFLAGS=-O -shared -fpic 54#LDFLAGS=-O -shared -fpic
53LD=gcc 55#LD=gcc
54 56
55#------ 57#------
56# End of makefile configuration 58# End of makefile configuration