[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make error in base on Solaris
From: |
Richard Frith-Macdonald |
Subject: |
Re: make error in base on Solaris |
Date: |
Fri, 18 Oct 2019 10:00:21 +0100 |
> On 18 Oct 2019, at 09:36, Richard Frith-Macdonald <address@hidden> wrote:
> However, gnu-make (I'm not an expert, just reading the documentation) allows
> double-colon rules, where you can huve multiple rules for a target each with
> a separate recipe (as long as there are no single colon rules for the same
> target).
> So it might be possible to change this code to
>
> base.make:: Version
> ./configure
>
> base.make:: config.status base.make.in
> ./$< $@
>
> However I don't know whether that would cause dependency issues (eg the first
> rule creates a config.status, and then the second rule gets applied as well).
That seemed to work in a few tests I did, so I comitted it ... would be good if
someoen more knowledgable could check though.