Makefile: Created a more generic rule for the compiling step.