Add device makefile