diff options
Diffstat (limited to 'test/monniaux/uzlib/examples/tgunzip/makefile.vc')
-rw-r--r-- | test/monniaux/uzlib/examples/tgunzip/makefile.vc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/monniaux/uzlib/examples/tgunzip/makefile.vc b/test/monniaux/uzlib/examples/tgunzip/makefile.vc new file mode 100644 index 00000000..64dd2e6a --- /dev/null +++ b/test/monniaux/uzlib/examples/tgunzip/makefile.vc @@ -0,0 +1,28 @@ +## +## tgunzip - gzip decompressor example +## +## Visual C/C++ makefile (GNU Make) +## +## Copyright (c) 2003 by Joergen Ibsen / Jibz +## All Rights Reserved +## + +target = tgunzip.exe +objects = tgunzip.obj +libs = ../../lib/tinf.lib + +cflags = /nologo /W3 /O1 /G6 /W3 /Gy /GF /I..\..\src +ldflags = /nologo /release /opt:ref /opt:icf + +.PHONY: all clean + +all: $(target) + +$(target): $(objects) + link $(ldflags) /out:$@ $^ $(libs) + +%.obj : %.c + cl $(cflags) -c $< + +clean: + $(RM) $(target) $(objects) |