aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/uzlib/examples/tgunzip/makefile.wat
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/uzlib/examples/tgunzip/makefile.wat')
-rw-r--r--test/monniaux/uzlib/examples/tgunzip/makefile.wat31
1 files changed, 31 insertions, 0 deletions
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)