Get the latest tech news

Tired of Makefiles


thinks you need to learn how to use Make properly. Table of Contents I'm Tired of Makefiles At Cesanta, we use Makefiles to build our firmwares, libraries, and perform other things.

We could factor out prerequisites in a third Makefile, specifically and carefully designed for inclusion, and include it in both mylib/Makefile and app/Makefile, and we'll make sure all the paths are correct, etc, etc. UPD: as tavainator pointed out at reddit, this one is easy to solve with-MP flag of gcc, so this issue is no longer relevant for me. Usually it only causes unnecessary builds (which is annoying but probably not critical on small-ish projects), but sometimes it can be a bigger issue, if for whatever reason some sources were copied with timestamps preserved.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Makefiles

Makefiles

Related news:

News photo

How I stopped worrying and loved Makefiles