Makefile Optimization: $(shell) and := go Together


and $(shell) in your Makefile is to run the command:

grep -n \$\(shell Makefile | grep -v := 

It'll print out the line number and details of every line in Makefile that contains a $(shell) and doesn't contain a :=. Take a look at what it finds to see if your Makefile can be optimized.

About the author

AgileConnection is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.