1 all:: subdirs $(LIBRARY).a 2 3 install-shlibs:: 4 5 uninstall-shlibs:: 6 7 real-subdirs:: 8 9 subdirs:: Makefile 10 @$(MAKE) -s real-subdirs 11 @touch subdirs 12 13 clean:: 14 @$(RM) -f subdirs 15 16 $(LIBRARY).a: $(OBJS) 17 @echo " GEN_LIB $@" 18 @(if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi) 19 @$(ARGEN) $@ $(OBJS) 20 -@$(RANLIB) $@ 21 @$(RM) -f ../$@ 22 @$(LN) $@ ../$@ 23 24