summaryrefslogtreecommitdiff
path: root/lib/zlib/contrib/untgz/Makefile.msc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlib/contrib/untgz/Makefile.msc')
-rw-r--r--lib/zlib/contrib/untgz/Makefile.msc17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/zlib/contrib/untgz/Makefile.msc b/lib/zlib/contrib/untgz/Makefile.msc
new file mode 100644
index 0000000000..77b8602213
--- /dev/null
+++ b/lib/zlib/contrib/untgz/Makefile.msc
@@ -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