[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Maximizing Library Build Parallelism
From: |
EXT-Pennington, Dale K |
Subject: |
RE: Maximizing Library Build Parallelism |
Date: |
Tue, 13 Jan 2009 09:34:35 -0600 |
> -----Original Message-----
> From: Christophe LYON [mailto:address@hidden
>
> why wouldn't you use a single library rule, such as:
> mylib.a: $(OBJS)
> ar cr $@ $^
>
Main reason not to would be the total rebuilding of the library every
time, even if only 1 object file had changed. Right now, I use a rule of
(%.o) : $(OBJ_DIR)/%.o
@ar $(ARFLAGS) $@ $<
Where ARFLAGS starts as -csr.
Dale