bug-make
[Top][All Lists]
Advanced

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

Re: Feature request


From: Philip Guenther
Subject: Re: Feature request
Date: Sat, 3 Mar 2012 22:05:58 -0800

On Sat, Mar 3, 2012 at 6:30 PM, Odne Hellebø <address@hidden> wrote:
...
> I have A.java which uses B.java and thus the rule becomes this <A.class :
> A.java B.class>, but I don't need to recompile A.java if B.class is changed,
> I just need B.class to be there with the features I use in A.class. So what
> I suggest is that we seperate the prerequisites and the "file uses these
> things" like <A.class : A.java £ B.class>. Where everything after £ is just
> checked to see if it exists.
...

If I understand what you're asking for, it's been present in GNU make
for almost 10 years under the name "order-only prerequisites".  Read
the GNU info pages for details of the syntax and to confirm that it
does what you want.


Philip Guenther



reply via email to

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