Browse Source

make: optimize archive creation/modification

Only add/replace changed members to the archive.
dev/timer
Ludwig Ortmann 8 years ago
parent
commit
7e123c797d
  1. 2
      Makefile.base

2
Makefile.base

@ -49,7 +49,7 @@ $(BINDIR)$(MODULE)/:
$(BINDIR)$(MODULE).a $(OBJ): | $(BINDIR)$(MODULE)/
$(BINDIR)$(MODULE).a: $(OBJ) | ${DIRS:%=ALL--%}
$(AD)$(AR) -rcs $@ $(OBJ)
$(AD)$(AR) -rcs $@ $?
CXXFLAGS = $(filter-out $(CXXUWFLAGS), $(CFLAGS)) $(CXXEXFLAGS)

Loading…
Cancel
Save