Makefile stuff for flashing