aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/uzlib/examples/tgunzip/makefile.dmc
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-01-29 22:31:50 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-01-29 22:31:50 +0100
commit417b4381dda4b88a1e382f821c8964cf8954307e (patch)
tree020b770318331a6016d61f838ee382445387982d /test/monniaux/uzlib/examples/tgunzip/makefile.dmc
parent15aafbb6ff578e10bfc9348c0d04aeaf83279705 (diff)
downloadcompcert-kvx-417b4381dda4b88a1e382f821c8964cf8954307e.tar.gz
compcert-kvx-417b4381dda4b88a1e382f821c8964cf8954307e.zip
https://github.com/pfalcon/uzlib
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)