~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to lib/zlib/contrib/untgz/Makefile

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 *~