Do not let the archive grow

This commit is contained in:
pancake 2013-11-28 05:30:20 +01:00 committed by Nguyen Anh Quynh
parent ad3cbaf5d4
commit 7fff908f94
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ lib: $(LIBOBJ)
#strip lib$(LIBNAME).$(EXT)
archive: $(LIBOBJ)
rm -f lib$(LIBNAME).a
$(AR) q lib$(LIBNAME).a $(LIBOBJ)
$(RANLIB) lib$(LIBNAME).a