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 one of the growing communities of the TechWell network.

Featuring fresh, insightful stories, is the place to go for what is happening in software development and delivery.  Join the conversation now!