diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-09-29 22:26:35 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-09-29 22:26:35 +0000 |
| commit | 8420541720726975ab79fafc399c45c6a8eff3bd (patch) | |
| tree | fffed8e810cd70ebb59e0775348ca24a049b868e /config | |
| parent | a32c6d91402329adb769c4fe8bbb24f0d4e99051 (diff) | |
| download | luasocket-8420541720726975ab79fafc399c45c6a8eff3bd.tar.gz luasocket-8420541720726975ab79fafc399c45c6a8eff3bd.tar.bz2 luasocket-8420541720726975ab79fafc399c45c6a8eff3bd.zip | |
Tested on Windows.
Diffstat (limited to 'config')
| -rw-r--r-- | config | 10 |
1 files changed, 9 insertions, 1 deletions
| @@ -35,13 +35,21 @@ INSTALL_EXEC=cp | |||
| 35 | 35 | ||
| 36 | #------ | 36 | #------ |
| 37 | # Compiler and linker settings | 37 | # Compiler and linker settings |
| 38 | # for Mac OS X | ||
| 38 | # | 39 | # |
| 39 | CC=gcc | 40 | CC=gcc |
| 40 | DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN | 41 | DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN |
| 41 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 | 42 | CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common |
| 42 | LDFLAGS=-bundle -undefined dynamic_lookup | 43 | LDFLAGS=-bundle -undefined dynamic_lookup |
| 43 | LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc | 44 | LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc |
| 44 | 45 | ||
| 46 | # for Linux | ||
| 47 | #CC=gcc | ||
| 48 | #DEF=-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN | ||
| 49 | #CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fpic | ||
| 50 | #LDFLAGS=-O -shared | ||
| 51 | #LD=gcc | ||
| 52 | |||
| 45 | #------ | 53 | #------ |
| 46 | # End of makefile configuration | 54 | # End of makefile configuration |
| 47 | # | 55 | # |
