adding a revised makefile with commands for both working with a single file and looping through several files