summaryrefslogtreecommitdiff
path: root/win32/zlib/contrib/untgz/Makefile
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-18 22:07:51 -0800
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-18 22:07:51 -0800
commitb2f3f5217a0e9833479367bc3ebbb7926819b71b (patch)
tree1a9cd4b581cd6435fc12de5538d205216d312e9c /win32/zlib/contrib/untgz/Makefile
parent838eca1ee266100da43656ddaa817fc1db604294 (diff)
Adding zlib for Visual Studio.
Diffstat (limited to 'win32/zlib/contrib/untgz/Makefile')
-rw-r--r--win32/zlib/contrib/untgz/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/win32/zlib/contrib/untgz/Makefile b/win32/zlib/contrib/untgz/Makefile
new file mode 100644
index 0000000..b54266f
--- /dev/null
+++ b/win32/zlib/contrib/untgz/Makefile
@@ -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 *~