source: trunk/essentials/sys-libs/zlib/contrib/untgz/Makefile

Last change on this file was 3311, checked in by bird, 18 years ago

zlib 1.2.3

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.