diff options
Diffstat (limited to 'third_party/rust/libz-sys/src/zlib-1.2.8/contrib/untgz/Makefile')
-rw-r--r-- | third_party/rust/libz-sys/src/zlib-1.2.8/contrib/untgz/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/rust/libz-sys/src/zlib-1.2.8/contrib/untgz/Makefile b/third_party/rust/libz-sys/src/zlib-1.2.8/contrib/untgz/Makefile new file mode 100644 index 000000000..b54266fba --- /dev/null +++ b/third_party/rust/libz-sys/src/zlib-1.2.8/contrib/untgz/Makefile @@ -0,0 +1,14 @@ +CC=cc +CFLAGS=-g + +untgz: untgz.o ../../libz.a + $(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz + +untgz.o: untgz.c ../../zlib.h + $(CC) $(CFLAGS) -c -I../.. untgz.c + +../../libz.a: + cd ../..; ./configure; make + +clean: + rm -f untgz untgz.o *~ |