[Top][All Lists]

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

Re: target variable ($@) as prerequisite

From: ulugutz
Subject: Re: target variable ($@) as prerequisite
Date: Thu, 27 Jan 2011 01:59:48 -0800 (PST)

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:
Sent from the Gnu - Make - Help mailing list archive at

reply via email to

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