diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:22:37 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:22:37 -0700 |
| commit | 4b5a43a219d51066c01ff2ab86af18b967f2d0dd (patch) | |
| tree | 4dcaf0cd18751d04cf638a9a6ec521990d4f2e90 /contrib/untgz/Makefile | |
| parent | 086e982175da84b3db958191031380794315f95f (diff) | |
| download | zlib-1.2.0.5.tar.gz zlib-1.2.0.5.tar.bz2 zlib-1.2.0.5.zip | |
zlib 1.2.0.5v1.2.0.5
Diffstat (limited to 'contrib/untgz/Makefile')
| -rw-r--r-- | contrib/untgz/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/untgz/Makefile b/contrib/untgz/Makefile index 409b4bd..b54266f 100644 --- a/contrib/untgz/Makefile +++ b/contrib/untgz/Makefile | |||
| @@ -1,14 +1,14 @@ | |||
| 1 | CC=cc | 1 | CC=cc |
| 2 | CFLAGS=-g | 2 | CFLAGS=-g |
| 3 | 3 | ||
| 4 | untgz: untgz.o ../../libz.a | 4 | untgz: untgz.o ../../libz.a |
| 5 | $(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz | 5 | $(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz |
| 6 | 6 | ||
| 7 | untgz.o: untgz.c ../../zlib.h | 7 | untgz.o: untgz.c ../../zlib.h |
| 8 | $(CC) $(CFLAGS) -c -I../.. untgz.c | 8 | $(CC) $(CFLAGS) -c -I../.. untgz.c |
| 9 | 9 | ||
| 10 | ../../libz.a: | 10 | ../../libz.a: |
| 11 | cd ../..; make | 11 | cd ../..; ./configure; make |
| 12 | 12 | ||
| 13 | clean: | 13 | clean: |
| 14 | rm -f untgz untgz.o *~ | 14 | rm -f untgz untgz.o *~ |
