help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

list of targets to make


From: Torsten Mohr
Subject: list of targets to make
Date: Thu, 27 Oct 2005 02:56:24 +0200
User-agent: KMail/1.8

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]