proper makefile to cut down compilation time