
all: libgdbm.a

libgdbm.a: current/libgdbm.a
	ln -f current/libgdbm.a libgdbm.a
	
current/libgdbm.a: current/*.[ch]
	cd current; make

neat: ;
clean: neat; -/bin/rm -f *.a
	cd current; make clean
clobber: clean
	cd current; make clobber

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 

LC=Lc
F=current/*.[ch]
KIT=..
tarkit: $(KIT) $F
	cd current; make clobber
	tar -cf - . | gzip > $(KIT)/$(HOSTYPE)_gdbm.tar.gz
	$(LC) gdbm.README $(KIT)/$(HOSTYPE)_gdbm.README
	touch tarkit
$(KIT):
	mkdir -p $(KIT)

