diff options
Diffstat (limited to 'config')
-rw-r--r-- | config | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -17,7 +17,7 @@ UNIX_SO=unix.$(EXT) | |||
17 | # | 17 | # |
18 | #LUAINC=-I/usr/local/include/lua50 | 18 | #LUAINC=-I/usr/local/include/lua50 |
19 | #LUAINC=-I/usr/local/include/lua5.1 | 19 | #LUAINC=-I/usr/local/include/lua5.1 |
20 | LUAINC=-Ilua-5.1.1/src | 20 | #LUAINC=-Ilua-5.1.1/src |
21 | 21 | ||
22 | #------ | 22 | #------ |
23 | # Compat-5.1 directory | 23 | # Compat-5.1 directory |
@@ -40,20 +40,20 @@ INSTALL_EXEC=cp | |||
40 | # Compiler and linker settings | 40 | # Compiler and linker settings |
41 | # for Mac OS X | 41 | # for Mac OS X |
42 | # | 42 | # |
43 | CC=gcc | 43 | #CC=gcc |
44 | DEF= -DAAA -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN | 44 | #DEF= -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN |
45 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common | 45 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common |
46 | LDFLAGS=-bundle -undefined dynamic_lookup | 46 | #LDFLAGS=-bundle -undefined dynamic_lookup |
47 | LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc | 47 | #LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc |
48 | 48 | ||
49 | #------ | 49 | #------ |
50 | # Compiler and linker settings | 50 | # Compiler and linker settings |
51 | # for Linux | 51 | # for Linux |
52 | #CC=gcc | 52 | CC=gcc |
53 | #DEF=-DLUASOCKET_DEBUG | 53 | DEF=-DLUASOCKET_DEBUG |
54 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic | 54 | CFLAGS= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic |
55 | #LDFLAGS=-O -shared -fpic | 55 | LDFLAGS=-O -shared -fpic |
56 | #LD=gcc | 56 | LD=gcc |
57 | 57 | ||
58 | #------ | 58 | #------ |
59 | # End of makefile configuration | 59 | # End of makefile configuration |