TOP=../..

LOBJS = ia.o
HEADERS = ia.h Array.h Closure.h Bit.h imagealgebra.h Array.c

CLOSUREARGS = -pta
CLOSUREOBJS = closure.o

include ${TOP}/src/gnumake.templ

lib: closure

closure: Array.c Array.h

ia.o: ia.h

clean:
	rm -f ia.o *~ xyzzy.C lib

spotless: clean
	rm -f xyzzy.o

empty: spotless
	if \
		echo; \
		echo "Making empty will eliminate all files including your GNUmakefile."; \
		echo -n "Are you sure you want to do this? [y/n] "; \
		read ans; test $$ans = y; \
	then for x in `ls`; do if test $$x != RCS; then echo rm $$x; rm $$x; fi; done; \
	fi
# dependencies
Array.o : Array.c 
closure.o : closure.c Array.h Bit.h 
ia.o : ia.c ia.h 
xyzzy.o : xyzzy.c 
