Modified the Makefile to allow arbitrary input and output files for all commands