make device directory changeable in makefile, changed some