update Makefile with dmake