# @(#)GNUmakefile	1.5 98/12/16
#
# Makefile for building the generic and vis versions of medialib
#

BUILDDIR = ../..
include $(BUILDDIR)/Platform.gmk
PRODUCT = sun
include $(BUILDDIR)/makefiles/Defs.gmk

SUBDIRS = generic

ifneq ($(CC_VERSION),gcc)
ifeq ($(ARCH),sparc)
SUBDIRS += vis
endif
endif

all optimized debug clean clobber::
	@for i in $(SUBDIRS) ; do \
	    echo ">>>Recursively making "$$i" "$@" @ `date` ..."; \
	    cd $$i; $(MAKE) $@ RELEASE=$(RELEASE) || exit 1; cd ..; \
	    echo "<<<Finished Recursively making "$$i" "$@" @ `date`." ; \
	done
