miscellaneous device makefile cleanup