From 417b4381dda4b88a1e382f821c8964cf8954307e Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Tue, 29 Jan 2019 22:31:50 +0100 Subject: https://github.com/pfalcon/uzlib --- test/monniaux/uzlib/examples/tgunzip/makefile.wat | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 test/monniaux/uzlib/examples/tgunzip/makefile.wat (limited to 'test/monniaux/uzlib/examples/tgunzip/makefile.wat') diff --git a/test/monniaux/uzlib/examples/tgunzip/makefile.wat b/test/monniaux/uzlib/examples/tgunzip/makefile.wat new file mode 100644 index 00000000..2d27a985 --- /dev/null +++ b/test/monniaux/uzlib/examples/tgunzip/makefile.wat @@ -0,0 +1,31 @@ +## +## tgunzip - gzip decompressor example +## +## Watcom / OpenWatcom C/C++ makefile (GNU Make) +## +## Copyright (c) 2003 by Joergen Ibsen / Jibz +## All Rights Reserved +## +## http://www.ibsensoftware.com/ +## + +target = tgunzip.exe +objects = tgunzip.obj +libs = ../../lib/tinf.lib +system = nt + +cflags = -bt=$(system) -d0 -ox -I..\..\src +ldflags = system $(system) + +.PHONY: all clean + +all: $(target) + +$(target): $(objects) + wlink $(ldflags) name $@ file {$^} library {$(libs)} + +%.obj : %.c + wcc386 $(cflags) $< + +clean: + $(RM) $(objects) $(target) -- cgit