Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top