Hi Paul,
I use some example code which uses C++20 modules.
There are five .cpp files, e.g:
main.c depends on a.c b.c c.c d.c
b.c d.c depends on c.c
a.c depends on b.c
d.c depends on a.c
I update my Makefile like the following. Is it correct and guaranteed to work
under parallel make?
Thanks Paul,
I've learnt a lot from your mail.
gt; Copyright (C) 1988-2020 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> $
>
>
On Thu, 2022-08-11 at 01:58 +0800, ljh wrote:
> I have three c source files: x.c, y.c, z.c and I name x as the target
> on left. Can I put x.o in the prerequisites on the right too? Are
> they the same, with or without x.o in the prerequisites on the right?
>
> x: y.o z.o x.o # with x.o
I