First, let’s recall what the ordinary prerequisites are.
Basically, the prerequisites in Makefile have two functions:
- They are checked and, if necessary, are built before the target
- If any of the prerequisites gets rebuilt (or is simply newer than the target) then the target will also be rebuilt.
Now, the order-only prerequisites do item 1, i.e. impose build-order, but not item 2.