LINKHEADERS=\
	chain-hash.h debuglib.h dynarray.h errlib.h tcplib.h\
	timelib.h xfile.h xmalloc.h arglist.h

all: clean
	for i in $(LINKHEADERS); do \
		ln -s ../*/$$i $$i; \
	done

arlib: all

clean:
	-rm $(LINKHEADERS) *\~

