Make loader use standard makefile. Add commit and upload targets to shared base makefile, and check if trying to run a ROM project in run target.