Optimizations on Makefile