lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 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 ../..; ./configure; make | ||||
12 | |||||
13 | clean: | ||||
14 | rm -f untgz untgz.o *~ |