Small makefile refactoring, experimenting with flash