How to force precedence in target rules when invoking make with -jn with
n>1 (on a multi core/threads machine)?
Let me clarify:
I have the following tagets/prerequisites rules:
all: $(MYLIB) TEST
$(MYLIB):
....
TEST:
...
With -j1 I get the library archived before the test. With -j8 I always
get test done before the library (and therefore an error).
I could solve by putting $(MYLIB) as a prerequisite of TEST, but I don't
want to pass through (=depend on) TEST for compiling the library. I
would like to be able to exclude TEST on demand and stll compile the library
Thanks
RM
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make