diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:17:33 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:17:33 -0700 |
commit | 7850e4e406dce1f7a819297eeb151d1ca18e7cd9 (patch) | |
tree | d4befddacae46b06c4924193904de533099610b4 /contrib/untgz/Makefile | |
parent | ebd3c2c0e734fc99a1360014ea52ed04fe6aade4 (diff) | |
download | zlib-1.0.7.tar.gz zlib-1.0.7.tar.bz2 zlib-1.0.7.zip |
zlib 1.0.7v1.0.7
Diffstat (limited to 'contrib/untgz/Makefile')
-rw-r--r-- | contrib/untgz/Makefile | 14 |
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 @@ | |||
1 | CC=cc | ||
2 | CFLAGS=-g | ||
3 | |||
4 | untgz: untgz.o ../../libz.a | ||
5 | $(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz | ||
6 | |||
7 | untgz.o: untgz.c ../../zlib.h | ||
8 | $(CC) $(CFLAGS) -c -I../.. untgz.c | ||
9 | |||
10 | ../../libz.a: | ||
11 | cd ../..; make | ||
12 | |||
13 | clean: | ||
14 | rm -f untgz untgz.o *~ | ||