Oleksandr Gavenko-2 wrote:
>
>
>> Oleksandr Gavenko-2 wrote:
>
>>>> how can you for example do this
>>>> ------------------------------------
>>>> PICS=%.pdf
>>>>
>>>> all: PICS
>>>> PICS: $(@:pdf=.png)
>>>> do something
>>>> ------------------------------------
>
> No. You wrong. Only that .pdf for which .png was changed.
>
>
nope i am right. every target has the same dependency list. you agree with
that, right? so if one timestamp of the dependencies changes all PDFs are
out of date :-/
i want to have only the png associated to the target in the dependency list.
--
View this message in context:
http://old.nabble.com/target-variable-%28%24%40%29-as-prerequisite-tp30764986p30775747.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make