Rebuilding When a File's Checksum Changes


to pass the source file through tr to strip whitespace before handing it to md5sum for checksumming.


I hope this hack proves useful in your real Makefiles.  If you do use it, or improve it, drop me a line.

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!