diff -urN lua-5.1.3/Makefile lua-5.1.3-haiku/Makefile
|
old
|
new
|
|
| 33 | 33 | # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE ========= |
| 34 | 34 | |
| 35 | 35 | # Convenience platforms targets. |
| 36 | | PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris |
| | 36 | PLATS= aix ansi bsd freebsd generic haiku linux macosx mingw posix solaris |
| 37 | 37 | |
| 38 | 38 | # What to install. |
| 39 | 39 | TO_BIN= lua luac |
diff -urN lua-5.1.3/src/Makefile lua-5.1.3-haiku/src/Makefile
|
old
|
new
|
|
| 20 | 20 | |
| 21 | 21 | # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE ========= |
| 22 | 22 | |
| 23 | | PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris |
| | 23 | PLATS= aix ansi bsd freebsd generic haiku linux macosx mingw posix solaris |
| 24 | 24 | |
| 25 | 25 | LUA_A= liblua.a |
| 26 | 26 | CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \ |
| … |
… |
|
| 95 | 95 | generic: |
| 96 | 96 | $(MAKE) all MYCFLAGS= |
| 97 | 97 | |
| | 98 | haiku: |
| | 99 | $(MAKE) all MYCFLAGS="-DLUA_ANSI" LIBS=$(MYLIBS) |
| | 100 | |
| 98 | 101 | linux: |
| 99 | 102 | $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" |
| 100 | 103 | |