Frage

So when you run make without changing any of the dependencies it says target upto date. I was curious how it keeps track of changes to the files, does it have some kind of revision control system under the hood. If so, where are these files stored?

War es hilfreich?

Lösung

No, it just compares the last-modified dates of the files.

If the target is newer than all of its dependencies, it's up to date. Otherwise the relevant dependencies are re-built.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top