Hello,
I have multiple interdependent targets in a single GNU Makefile, each
depending on source files that have the same names as the source files in
another target but residing in a different directory. How do I fetch the files
with the same names from the appropriate directory for each target unless I
specify the full path for each file? Neither multiple VPATH nor multiple vpath
statements are generally useful for that case. I absolutely do not want to split
the Makefile into multiple Makefiles because then strict dependency
checking is going to be lost. Also, specifying the full path to each source file
comes with its own headaches.
Thank you in advance for your kind
help,
Vesko