mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-18 07:15:10 -05:00
32 lines
776 B
Batchfile
32 lines
776 B
Batchfile
|
:: run this from a VS command prompt
|
||
|
@echo off
|
||
|
|
||
|
SET PACKAGE_NAME=zlib-1.2.7
|
||
|
nmake -f win32\makefile.msc clean
|
||
|
nmake -f win32\makefile.msc LOC="-DASMV -DASMINF" OBJA="inffas32.obj match686.obj"
|
||
|
set ZLIB_SRC=%cd%
|
||
|
set ZLIB_DEST=%cd%-x86
|
||
|
nmake -f win32\makefile.msc test
|
||
|
echo.Press return when ready to install!
|
||
|
pause
|
||
|
|
||
|
rmdir /q /s %ZLIB_DEST%
|
||
|
mkdir %ZLIB_DEST%
|
||
|
mkdir %ZLIB_DEST%\bin
|
||
|
mkdir %ZLIB_DEST%\include
|
||
|
mkdir %ZLIB_DEST%\lib
|
||
|
copy zlib.h %ZLIB_DEST%\include
|
||
|
copy zconf.h %ZLIB_DEST%\include
|
||
|
copy zdll.lib %ZLIB_DEST%\lib
|
||
|
copy zlib1.dll %ZLIB_DEST%\bin
|
||
|
copy README %ZLIB_DEST%\COPYING.ZLIB
|
||
|
nmake -f win32\makefile.msc clean
|
||
|
|
||
|
cd %ZLIB_DEST%
|
||
|
set PATH=%PATH%;%ProgramFiles%\7-zip
|
||
|
7z a ..\%PACKAGE_NAME%-x86.7z *
|
||
|
cd %ZLIB_SRC%
|
||
|
|
||
|
echo.Finished!
|
||
|
pause
|