How does GNU track file changes?

Therefore, when you start makewithout changing any dependencies, he says target upto date. I was curious how it tracks changes in files, does it have some kind of version control system under the hood. If so, where are these files stored?

+4
source share
1 answer

No, it just compares the last modified file dates.

If the goal is newer than all its dependencies, it is updated. Otherwise, the corresponding dependencies will be rebuilt.

+10
source

Source: https://habr.com/ru/post/1535588/


All Articles