updated makefile for database