diff options
Diffstat (limited to 'contrib/untgz/Makefile.msc')
-rw-r--r-- | contrib/untgz/Makefile.msc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/untgz/Makefile.msc b/contrib/untgz/Makefile.msc new file mode 100644 index 0000000..77b8602 --- /dev/null +++ b/contrib/untgz/Makefile.msc | |||
@@ -0,0 +1,17 @@ | |||
1 | CC=cl | ||
2 | CFLAGS=-MD | ||
3 | |||
4 | untgz.exe: untgz.obj ..\..\zlib.lib | ||
5 | $(CC) $(CFLAGS) untgz.obj ..\..\zlib.lib | ||
6 | |||
7 | untgz.obj: untgz.c ..\..\zlib.h | ||
8 | $(CC) $(CFLAGS) -c -I..\.. untgz.c | ||
9 | |||
10 | ..\..\zlib.lib: | ||
11 | cd ..\.. | ||
12 | $(MAKE) -f win32\makefile.msc | ||
13 | cd contrib\untgz | ||
14 | |||
15 | clean: | ||
16 | -del untgz.obj | ||
17 | -del untgz.exe | ||