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