# As usual, only a couple of things to mess with..
CC   = gcc
INCS = -I. -I../zlib -I../zfunc

# The order of linking is important here!
LIBS = -L../zfunc -lzf -L../zlib -lz

# Change if your compiler isn't ansi compliant
DEFS = -DANSI_COMPLIANT=1

# Don't change below this line

all:	ztest

ztest:	ztest.o
	$(CC) -o ztest ztest.o $(LIBS)

ztest.o: ztest.c
	$(CC) -c ztest.c $(INCS) $(DEFS)

clean:
	rm -f *.o

distclean: clean
	rm ztest
