diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-02-04 17:12:35 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-02-04 17:12:35 -0200 |
| commit | 76179a1014430f42148822ac2db23a9491817a0b (patch) | |
| tree | 9a16baa96e998e5e8c130ee6e8c2334fc78a581e /makefile | |
| parent | bdfab46c220681f4dc0663bbce4026f4bbada00b (diff) | |
| download | lua-76179a1014430f42148822ac2db23a9491817a0b.tar.gz lua-76179a1014430f42148822ac2db23a9491817a0b.tar.bz2 lua-76179a1014430f42148822ac2db23a9491817a0b.zip | |
compile option EXTRALIB for builtin functions that can be written in Lua.
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 11 |
1 files changed, 7 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | # | 1 | # |
| 2 | ## $Id: makefile,v 1.15 1999/01/11 20:23:54 roberto Exp roberto $ | 2 | ## $Id: makefile,v 1.16 1999/02/04 16:37:41 roberto Exp roberto $ |
| 3 | ## Makefile | 3 | ## Makefile |
| 4 | ## See Copyright Notice in lua.h | 4 | ## See Copyright Notice in lua.h |
| 5 | # | 5 | # |
| @@ -12,16 +12,19 @@ | |||
| 12 | # define (undefine) _POSIX_SOURCE if your system is (not) POSIX compliant | 12 | # define (undefine) _POSIX_SOURCE if your system is (not) POSIX compliant |
| 13 | # | 13 | # |
| 14 | # define (undefine) OLD_ANSI if your system does NOT have some new ANSI | 14 | # define (undefine) OLD_ANSI if your system does NOT have some new ANSI |
| 15 | # facilities (e.g. strerror, locale.h, memmove). Although they are ANSI, | 15 | # facilities (e.g. strerror, locale.h, memmove). SunOS does not comply; |
| 16 | # SunOS does not comply; so, add "-DOLD_ANSI" on SunOS | 16 | # so, add "-DOLD_ANSI" on SunOS |
| 17 | # | 17 | # |
| 18 | # define LUA_COMPAT2_5 if yous system does need to be compatible with | 18 | # define LUA_COMPAT2_5 if yous system does need to be compatible with |
| 19 | # version 2.5 (or older) | 19 | # version 2.5 (or older) |
| 20 | # | 20 | # |
| 21 | # define LUA_NUM_TYPE if you need numbers to be different from double | 21 | # define LUA_NUM_TYPE if you need numbers to be different from double |
| 22 | # (for instance, -DLUA_NUM_TYPE=float) | 22 | # (for instance, -DLUA_NUM_TYPE=float) |
| 23 | # | ||
| 24 | # undefine EXTRALIB if you do not want builtin functions that can be | ||
| 25 | # written in Lua (sort, tinsert, tremove, assert, foreach*) | ||
| 23 | 26 | ||
| 24 | CONFIG = -DPOPEN -D_POSIX_SOURCE | 27 | CONFIG = -DPOPEN -D_POSIX_SOURCE -DEXTRALIB |
| 25 | #CONFIG = -DLUA_COMPAT2_5 -DOLD_ANSI -DDEBUG | 28 | #CONFIG = -DLUA_COMPAT2_5 -DOLD_ANSI -DDEBUG |
| 26 | 29 | ||
| 27 | 30 | ||
