aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/uzlib/examples/tgunzip/makefile.dj2
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/uzlib/examples/tgunzip/makefile.dj2')
-rw-r--r--test/monniaux/uzlib/examples/tgunzip/makefile.dj230
1 files changed, 30 insertions, 0 deletions
diff --git a/test/monniaux/uzlib/examples/tgunzip/makefile.dj2 b/test/monniaux/uzlib/examples/tgunzip/makefile.dj2
new file mode 100644
index 00000000..c09312dc
--- /dev/null
+++ b/test/monniaux/uzlib/examples/tgunzip/makefile.dj2
@@ -0,0 +1,30 @@
+##
+## tgunzip - gzip decompressor example
+##
+## DJGPP makefile
+##
+## Copyright (c) 2003 by Joergen Ibsen / Jibz
+## All Rights Reserved
+##
+## http://www.ibsensoftware.com/
+##
+
+target = tgunzip.exe
+objects = tgunzip.o
+libs = ../../lib/libtinf.a
+
+cflags = -s -Wall -Os -fomit-frame-pointer -I../../src
+ldflags = $(cflags)
+
+.PHONY: all clean
+
+all: $(target)
+
+$(target): $(objects)
+ gcc $(ldflags) -o $@ $^ $(libs)
+
+%.o : %.c
+ gcc $(cflags) -o $@ -c $<
+
+clean:
+ $(RM) $(objects) $(target)