Link zlib statically for windows (#35)

* Add zlib 1.2.11 sources

* link zlib statically for windows
This commit is contained in:
Dimon4eg
2019-04-19 19:14:03 +03:00
committed by Benjamin Sergeant
parent 5682129b1d
commit f61fd7b7f1
272 changed files with 73130 additions and 1927 deletions

View File

@ -0,0 +1,17 @@
CC=cl
CFLAGS=-MD
untgz.exe: untgz.obj ..\..\zlib.lib
$(CC) $(CFLAGS) untgz.obj ..\..\zlib.lib
untgz.obj: untgz.c ..\..\zlib.h
$(CC) $(CFLAGS) -c -I..\.. untgz.c
..\..\zlib.lib:
cd ..\..
$(MAKE) -f win32\makefile.msc
cd contrib\untgz
clean:
-del untgz.obj
-del untgz.exe