Ok, let's not try to generate the remove list if there is no library to remove things from
git-svn-id: svn://10.0.0.236/trunk@50255 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -579,9 +579,11 @@ $(LIBRARY)(%.o): %.o
|
||||
$(LIBRARY:%.a=.%.timestamp) :
|
||||
@touch $@
|
||||
|
||||
ifneq (, $(LIBRARY))
|
||||
AR_FILES_TO_REMOVE := $(filter-out \
|
||||
$(filter %.o, $(LIBRARY)($(OBJS) $(LOBJS)) ), \
|
||||
$(shell [ -f $(LIBRARY) ] && $(AR_LIST) $(LIBRARY)))
|
||||
endif
|
||||
|
||||
$(LIBRARY): $(LIBRARY)($(OBJS) $(LOBJS)) $(LIBRARY:%.a=.%.timestamp) Makefile.in Makefile
|
||||
@touch $(LIBRARY:%.a=.%.timestamp)
|
||||
|
||||
Reference in New Issue
Block a user