~ubuntu-branches/ubuntu/utopic/critcl/utopic

« back to all changes in this revision

Viewing changes to examples/zlibwrap/zlib/contrib/untgz/Makefile

  • Committer: Package Import Robot
  • Author(s): Andrew Shadura
  • Date: 2013-05-11 00:08:06 UTC
  • Revision ID: package-import@ubuntu.com-20130511000806-7hq1zc3fnn0gat79
Tags: upstream-3.1.9
ImportĀ upstreamĀ versionĀ 3.1.9

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 *~