# libscrules
#
# Common rules for libsc Makefiles
#
# $Revision: 1.6 $
#

LLDIRT= *.ln
LDIRT= $(LLDIRT); \
	if [ -d $(OBJECTDIR) ] ; then cd $(OBJECTDIR);  rm -f $(OBJECTS); fi

TARGETS= $(LTARGETS)

$(COMMONPREF)default: $(LIBPATH)

include $(DEPTH)/commonrules

$(LIBPATH):	$(TDIRS) $(OBJECTS) $(EXTRAOBJ)
	@if [ '$?' != '$(TDIRS)' ]  ; then $(ARCH) $(OBJECTS) ; fi
