Hi Peter,

On Fri, 2025-05-16 at 18:02 +0100, Peter Blackman wrote:
> Hi Michalis,
> 
> I agree that the bug is line 35 in the rules file
> make -C source/component clean all
Why do we call clean before all?
I would expect that clean is already called before build.
> 
> Obviously it depends on left > right execution.
> When run in reverse, it does make all first,
> then cleans out what it just built!!
> 
> I prefer adding an extra line, so we have
> 
>         ....
>         make -C source/component clean
>         make -C source/component all
>         ....
> 
> That ensures that make ... all is always run after the clean
I would remove clean and let only all. Of course cleaning should be done in the
clean target.
-- 
Cheers,
Abou Al Montacir


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to