#
# Name       History
# Ken        Optimized to support the recursive make
#
# Contact Info:
# <ken_zhai@sdesigns.com>
#
# Sigma Designs
# 1778 McCarthy BLVD
# Milpitas CA 95035, USA
#
############################################################################
-include ../../.makefile.in
-include $(TOPDIR)/.config
-include $(TOPDIR)/Makefile.in
BUILD_DIR:=$(BASE_DIR)/toolchain/runtime-libs

.PHONY: all clean install uninstall distclean	
all: install-runtime-libs
clean:
	@for x in $(rtlib_list); \
	do \
	( \
	[ ! -d $(TARGET_DIR)/lib ] || find $(TARGET_DIR)/lib/ \( -name $$x \) -exec rm -f {} \;; \
	); \
	done 
install: all
uninstall: clean
distclean: uninstall

-include runtime-libs.mk
