changing makefile to dump database