fixed makefile, dmv.h for termis