source: Vago/zlib-1.2.8/contrib/untgz/Makefile@ 1049

Last change on this file since 1049 was 1049, checked in by s10k, 8 years ago
File size: 234 bytes
Line 
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 ../..; ./configure; make
12
13clean:
14 rm -f untgz untgz.o *~
Note: See TracBrowser for help on using the repository browser.