Makefile should do that shit really.