#
# Standalone library make rules.
#   - This file is a wrapper which extends the standalone tree's commonrules
#     with rules peculiar to libsk.
#   - Makefiles in libsk subdirectories should include this file via the line
#     "include $(SAIODEPTH)/Makerules" before any private rules.
#

LLDIRT= *.ln $(LLLDIRT)
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
