Simplify and unify source manipulation through Makefile