aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/uzlib/examples/tgunzip/makefile.dmc
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/uzlib/examples/tgunzip/makefile.dmc')
-rw-r--r--test/monniaux/uzlib/examples/tgunzip/makefile.dmc31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/monniaux/uzlib/examples/tgunzip/makefile.dmc b/test/monniaux/uzlib/examples/tgunzip/makefile.dmc
new file mode 100644
index 00000000..4c3d0297
--- /dev/null
+++ b/test/monniaux/uzlib/examples/tgunzip/makefile.dmc
@@ -0,0 +1,31 @@
+##
+## tgunzip - gzip decompressor example
+##
+## Digital Mars 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
+temps = tgunzip.map
+
+cflags = -s -mn -o+all -I..\..\src
+ldflags = $(cflags)
+
+.PHONY: all clean
+
+all: $(target)
+
+$(target): $(objects)
+ dmc $(ldflags) -o$@ $^ $(libs)
+
+%.obj : %.c
+ dmc $(cflags) -c $<
+
+clean:
+ $(RM) $(objects) $(target) $(temps)