This repository has been archived on 2022-08-10. You can view files and clone it, but cannot push or open issues or pull requests.
chez-openbsd/zlib/contrib/untgz/Makefile

15 lines
234 B
Makefile
Raw Permalink Normal View History

2022-07-29 15:12:07 +02:00
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 *~