Simplifying the Makefile by adding loops (who knew?