zlib/contrib/untgz/Makefile

15 lines
234 B
Makefile
Raw Normal View History

2011-09-10 10:17:33 +04:00
CC=cc
CFLAGS=-g
2011-09-10 10:22:37 +04:00
untgz: untgz.o ../../libz.a
$(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz
2011-09-10 10:17:33 +04:00
untgz.o: untgz.c ../../zlib.h
$(CC) $(CFLAGS) -c -I../.. untgz.c
../../libz.a:
2011-09-10 10:22:37 +04:00
cd ../..; ./configure; make
2011-09-10 10:17:33 +04:00
clean:
rm -f untgz untgz.o *~