vcpkg/ports/luajit/Makefile.nmake
jim wang fd4ae2b48d
[luajit] Fix copying redundant files (#34018)
* Generate Imath.pc

* update version

* add dependency imath minizip-ng

* updata version

* update version

* Fix copying redundant files

* Fix copying redundant files

* update version

* fix install path

* update version
2023-09-28 23:21:58 -07:00

21 lines
730 B
Makefile

all:
@echo _CL_ = $(_CL_)
@echo _LINK_ = $(_LINK_)
cd src && .\msvcbuild.bat $(MSVCBUILD_OPTIONS)
install: src\luajit.exe
-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"
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\"