[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fetching sources for multiple interdependent targets

From: Vesselin Peev
Subject: Fetching sources for multiple interdependent targets
Date: Mon, 22 Aug 2005 15:38:01 +0300

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,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]