# first, edit gen-dbarch, and add a case for your platform.  This is
# needed because db likes to use platform names, instead of just
# figuring out where it is and acting accordingly.

all:
	./gen-dbarch
	cd db/PORT/`cat dbarch`; make
	cd src; make dep; make

clean:
	cd db/PORT/`cat dbarch`; make clean
	cd src; make real-clean
	rm -f dbarch