This repository has been archived on 2022-08-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
chez-openbsd/zlib/contrib/untgz/Makefile
2022-07-29 15:12:07 +02:00

14 lines
234 B
Makefile

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