%% Michal Svec <[EMAIL PROTECTED]> writes:
ms> % : /some/path/%
ms> cp $< $@
ms> It is OK, but if I want to expand a file with a dir, it is not correctly
ms> expanded, instead of:
ms> foo/file: /some/path/foo/file
ms> It expands to
ms> foo/file: /foo/some/path/file
ms> An
%% Casey Liscum <[EMAIL PROTECTED]> writes:
cl> Variables involved in a target-specific modification do not expand to
cl> the updated form when used as a prerequisite for that target. They do
cl> expand properly when used in the rule's command structure.
This is expected behavior.
cl>
Variables involved in a target-specific modification do not expand to
the updated form when used as a prerequisite for that target. They do
expand properly when used in the rule's command structure.
Here is a simplified example Makefile:
-
# initial target value set;
TARGETS = foo
# set tar