Hi,

SRC := a.c b.c c.c d.c
OBJ := a.o b.o c.o d.o

%.o : %.c
  compiler -o $@ -c $<


With the small example above, "make" calls the compiler for
each target that is not up to date or does not exist.

Is it possible to formulate a rule to hand _all_ the targets
that are not up to date to the compiler?

Or to just generate a list of the targets that need to be remade?

Or is it possible to chop the list of targets to be remade into
N pieces and then call the compiler with these N files at once?


The background is that we use a compiler in the office that
supports several source files at once and that gets a license
over the network for each call.  So starting the compiler has
some overhead.


Best regards,
Torsten.



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to