emb-sw/Makefile: update makefile to autogenerate dependencies