On Sat, Mar 3, 2012 at 6:30 PM, Odne Hellebø <odne...@gmail.com> 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 _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make