view src/zlib-1.2.8/contrib/untgz/Makefile @ 161:4797bbf470e7

No, that isn't going to end well. Back it out.
author Chris Cannam <cannam@all-day-breakfast.com>
date Sat, 16 Feb 2019 18:32:35 +0000
parents 5b4145a0d408
children
line wrap: on
line source
CC=cc
CFLAGS=-g

untgz: untgz.o ../../libz.a
	$(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz

untgz.o: untgz.c ../../zlib.h
	$(CC) $(CFLAGS) -c -I../.. untgz.c

../../libz.a:
	cd ../..; ./configure; make

clean:
	rm -f untgz untgz.o *~