#58914 - wintermute - Thu Oct 27, 2005 5:42 am
(Split from here.)
Could you elaborate on "multiple levels of dependencies"?
The example makefiles and associated rules build everything in a separate build folder which makes dependency generation more reliable since a full path to the prerequsiites is created.
VPATH is simply a list of paths where prerequisites may be found, in most cases adding folders to the SOURCES variable will do what you need. The .P and .d files are autogenerated and you shouldn't need to do anything with them although enabling gbfs to generate it's own dependency list might be useful. Another handy feature might be to allow gbfs to parse an entire directory and add all the files it finds much like the way conv2AAS ( the Apex Audio converter) works.
The .d files are a simple format consisting of a standard dependency rule with no commands.
all prerequisites should be given as a full path spec.
Could you elaborate on "multiple levels of dependencies"?
The example makefiles and associated rules build everything in a separate build folder which makes dependency generation more reliable since a full path to the prerequsiites is created.
VPATH is simply a list of paths where prerequisites may be found, in most cases adding folders to the SOURCES variable will do what you need. The .P and .d files are autogenerated and you shouldn't need to do anything with them although enabling gbfs to generate it's own dependency list might be useful. Another handy feature might be to allow gbfs to parse an entire directory and add all the files it finds much like the way conv2AAS ( the Apex Audio converter) works.
The .d files are a simple format consisting of a standard dependency rule with no commands.
Code: |
<output file>: <prerequiste file> \ <prequisite file> ... |
all prerequisites should be given as a full path spec.