2023-05-10 07:57:10 +08:00
|
|
|
all:
|
|
|
|
@echo _CL_ = $(_CL_)
|
|
|
|
@echo _LINK_ = $(_LINK_)
|
|
|
|
cd src && .\msvcbuild.bat $(MSVCBUILD_OPTIONS)
|
|
|
|
|
2023-09-29 14:21:58 +08:00
|
|
|
install: src\luajit.exe
|
2023-05-10 07:57:10 +08:00
|
|
|
-mkdir "$(INSTALLDIR)"
|
|
|
|
-mkdir "$(INSTALLDIR)\bin"
|
|
|
|
copy src\luajit.exe "$(INSTALLDIR)\bin\"
|
|
|
|
if exist src\lua51.dll copy src\lua51.dll "$(INSTALLDIR)\bin\"
|
|
|
|
-mkdir "$(INSTALLDIR)\lib"
|
|
|
|
copy src\lua51.lib "$(INSTALLDIR)\lib\"
|
|
|
|
-mkdir "$(INSTALLDIR)\include"
|
|
|
|
-mkdir "$(INSTALLDIR)\include\luajit"
|
2023-09-29 14:21:58 +08:00
|
|
|
copy src\lua.h "$(INSTALLDIR)\include\luajit\"
|
|
|
|
copy src\luajit.h "$(INSTALLDIR)\include\luajit\"
|
|
|
|
copy src\luaconf.h "$(INSTALLDIR)\include\luajit\"
|
|
|
|
copy src\lualib.h "$(INSTALLDIR)\include\luajit\"
|
|
|
|
copy src\lauxlib.h "$(INSTALLDIR)\include\luajit\"
|
|
|
|
copy src\lua.hpp "$(INSTALLDIR)\include\luajit\"
|