Link zlib statically for windows (#35)

* Add zlib 1.2.11 sources

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

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
CC=cc
CFLAGS=-g
untgz: untgz.o ../../libz.a
$(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz
untgz.o: untgz.c ../../zlib.h
$(CC) $(CFLAGS) -c -I../.. untgz.c
../../libz.a:
cd ../..; ./configure; make
clean:
rm -f untgz untgz.o *~