summaryrefslogtreecommitdiff
path: root/contrib/untgz/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/untgz/Makefile')
-rw-r--r--contrib/untgz/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/untgz/Makefile b/contrib/untgz/Makefile
new file mode 100644
index 0000000..409b4bd
--- /dev/null
+++ b/contrib/untgz/Makefile
@@ -0,0 +1,14 @@
1CC=cc
2CFLAGS=-g
3
4untgz: untgz.o ../../libz.a
5 $(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz
6
7untgz.o: untgz.c ../../zlib.h
8 $(CC) $(CFLAGS) -c -I../.. untgz.c
9
10../../libz.a:
11 cd ../..; make
12
13clean:
14 rm -f untgz untgz.o *~