Send an angry letter to the build system designer.
:-)
And maybe think of implementing the implicit rules so that they're
dependent on expanded variables. Example:
DEPENDS_DIR ?= $(CURDIR)
TARGET_DIR ?= $(DEPENDS_DIR)
$(TARGET_DIR)/%.suf1: $(DEPENDS_DIR)/%.suf2 $(DEPENDS_DIR)/%.suf3
That or implement it using a smarter static rule :).
Thanks for your answer.
At first glance I hadn't noticed that the target names are even more
intricate: we do use something like
make /dir1/file.suf1 /dir2/file.suf1
(ie where only the directory name is different, but the contents will be
different based on the full path name....)
I guess I'll have to think about how to be smarter :-)
Christophe.
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make