#/////////////////////////////////////////////////////////////////////////////////////////
#   -- PLASMA --
#      University of Tennessee
#
include make.inc

all: lib test example

lib: libcblas libcoreblas libcorelapack libplasma

clean: cleanall

libcblas:
	( cd cblas; $(MAKE) )

libcoreblas:
	( cd core_blas; $(MAKE) )

libcorelapack:
	( cd core_lapack; $(MAKE) )

libplasma:
	( cd src; $(MAKE) )

test:
	( cd testing; $(MAKE) )

example:
	( cd examples; $(MAKE) )

cleanall:
	( cd cblas; $(MAKE) clean )
	( cd core_blas; $(MAKE) clean )
	( cd core_lapack; $(MAKE) clean )
	( cd src; $(MAKE) clean )
	( cd testing; $(MAKE) clean )
	( cd examples; $(MAKE) clean )
	( cd lib; rm -f *.a )
