Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (0 / 6) |
Uptime: | 66:58:27 |
Calls: | 425 |
Calls today: | 3 |
Files: | 1,025 |
Messages: | 91,506 |
Posted today: | 1 |
Hi Michalis,Why do we call clean before all?
I agree that the bug is line 35 in the rules file
make -C source/component clean all
Obviously it depends on left > right execution.I would remove clean and let only all. Of course cleaning should be done in the clean target.
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
<div>then cleans out what it just built!!</div></blockquote><blockquote type="cite" style="margin:0
Hi Peter,
On Fri, 2025-05-16 at 18:02 +0100, Peter Blackman wrote:
Hi Michalis,Why do we call clean before all?
I agree that the bug is line 35 in the rules file
make -C source/component clean all
I would expect that clean is already called before build.
I would remove clean and let only all. Of course cleaning should be done
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
in the clean target.
--
Cheers,
Abou Al Montacir