subs & deps distinction #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
inclusion direction
subs point inwards, they depend on the unit referencing them, whereas deps point outwards, and the current node requires the units they mention as parts of itself, which means it should aggregate the variable instances of each dep recursively such as UNITS for final compilation
rather than passing variables such as units upwards, one may partially link all objects produced at a stage of the tree using
ld -rand append that filepath to the root makefile's unitsto prevent filename collision perhaps the resulting unified object should be named after the invoked makefile ?
so
Makefile->Makefile.o,node.mk->node.mk.owe wouldn't want to risk there already existing a
node.ofile which would cause relinking issues as different stages of the build process alternate in overwriting the same file, and this clearly conveys that this "belongs" to the similarly named makefile, and that it is not a regular object file