diff options
Diffstat (limited to 'config')
-rw-r--r-- | config | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -15,8 +15,8 @@ UNIX_SO=unix.$(EXT) | |||
15 | #------ | 15 | #------ |
16 | # Lua includes and libraries | 16 | # Lua includes and libraries |
17 | # | 17 | # |
18 | LUAINC=-Ilua-5.0.2/include | 18 | LUAINC=-I/usr/local/include/lua50 |
19 | LUALIB=-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 | # |
30 | INSTALL_TOP_SHARE=share | 30 | INSTALL_TOP_SHARE=/usr/local/share/lua/5.0 |
31 | INSTALL_TOP_LIB=lib | 31 | INSTALL_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 | ||
33 | INSTALL_DATA=cp | 35 | INSTALL_DATA=cp |
34 | INSTALL_EXEC=cp | 36 | INSTALL_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 |
49 | CC=gcc | 51 | #CC=gcc |
50 | DEF=-DLUASOCKET_DEBUG | 52 | #DEF=-DLUASOCKET_DEBUG |
51 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic | 53 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic |
52 | LDFLAGS=-O -shared -fpic | 54 | #LDFLAGS=-O -shared -fpic |
53 | LD=gcc | 55 | #LD=gcc |
54 | 56 | ||
55 | #------ | 57 | #------ |
56 | # End of makefile configuration | 58 | # End of makefile configuration |