4 ms·
Sun used to have a version of make that WOULD keep track of commandlines, and would rebuild targets if they changed. Meaning with the command: foo.o: foo.c
by m463 6y ago
Sun used to have a version of make that WOULD keep track of commandlines, and would rebuild targets if they changed.
Meaning with the command:
foo.o: foo.c
cc -o foo.o $(CFLAGS) foo.c
make would save away "cc -o foo.o -g -DFOO foo.c" as part of the rebuild check.
Also, I was under the (mistaken?) impression that some make actions came from a dependency tree, not a timestamp. Otherwise everything would be breaking during any invocation.
One other point about ATIME -- turn it off if you value your SSD.
- aidenn0 6y agoThe make actions come from a dependency tree, and whether or not a target is "dirty" is if: 1. The target doesn't exist 2. Any children are dirty 3. The mtime of any children is more recent than the mtime of the target. All recursively propagated from leaves up.