eris: add 'build.bat' and update makefile'
This commit is contained in:
@@ -25,7 +25,7 @@ MYOBJS=eris.o
|
||||
|
||||
# == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE =======
|
||||
|
||||
PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
|
||||
PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris win-gcc-static
|
||||
|
||||
LUA_A= liblua.a
|
||||
CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
|
||||
@@ -126,13 +126,19 @@ macosx:
|
||||
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_MACOSX" SYSLIBS="-lreadline" CC=cc
|
||||
|
||||
mingw:
|
||||
$(MAKE) "LUA_A=lua52.dll" "LUA_T=lua.exe" \
|
||||
$(MAKE) "LUA_T=lua.exe" \
|
||||
"AR=$(CC) -shared -o" "RANLIB=strip --strip-unneeded" \
|
||||
"SYSCFLAGS=-DLUA_BUILD_AS_DLL" "SYSLIBS=" "SYSLDFLAGS=-s" lua.exe
|
||||
$(MAKE) "LUAC_T=luac.exe" luac.exe
|
||||
$(MAKE) "TESTP_T=../test/persist.exe" ../test/persist.exe
|
||||
$(MAKE) "TESTUP_T=../test/unpersist.exe" ../test/unpersist.exe
|
||||
|
||||
win-gcc-static:
|
||||
$(MAKE) "LUA_T=lua.exe" "SYSLIBS=" "SYSLDFLAGS=-s" lua.exe
|
||||
$(MAKE) "LUAC_T=luac.exe" luac.exe
|
||||
$(MAKE) "TESTP_T=../test/persist.exe" ../test/persist.exe
|
||||
$(MAKE) "TESTUP_T=../test/unpersist.exe" ../test/unpersist.exe
|
||||
|
||||
posix:
|
||||
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_POSIX"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user