kusano 2b45e8
TOPDIR	= ..
kusano 2b45e8
include ../Makefile.system
kusano 2b45e8
kusano 2b45e8
SUBDIRS	= laswp getf2 getrf potf2 potrf lauu2 lauum trti2 trtri getrs
kusano 2b45e8
kusano 2b45e8
FLAMEDIRS = laswp getf2 potf2 lauu2 trti2
kusano 2b45e8
kusano 2b45e8
libs:
kusano 2b45e8
	@for d in $(SUBDIRS) ; \
kusano 2b45e8
	do if test -d $$d; then \
kusano 2b45e8
	  $(MAKE) -C $$d $(@F) || exit 1 ; \
kusano 2b45e8
	fi; \
kusano 2b45e8
	done
kusano 2b45e8
kusano 2b45e8
prof:
kusano 2b45e8
	@for d in $(SUBDIRS) ; \
kusano 2b45e8
	do if test -d $$d; then \
kusano 2b45e8
	  $(MAKE) -C $$d $(@F) || exit 1 ; \
kusano 2b45e8
	  (cd $$d; $(MAKE) prof) ; \
kusano 2b45e8
	fi; \
kusano 2b45e8
	done
kusano 2b45e8
kusano 2b45e8
flame:
kusano 2b45e8
	@for d in $(FLAMEDIRS) ; \
kusano 2b45e8
	do if test -d $$d; then \
kusano 2b45e8
	  $(MAKE) -C $$d libs || exit 1 ; \
kusano 2b45e8
	fi; \
kusano 2b45e8
	done
kusano 2b45e8
kusano 2b45e8
hpl:
kusano 2b45e8
kusano 2b45e8
hpl_p:
kusano 2b45e8
kusano 2b45e8
clean ::
kusano 2b45e8
	@for d in $(SUBDIRS) tpp ; \
kusano 2b45e8
	do if test -d $$d; then \
kusano 2b45e8
	  $(MAKE) -C $$d $(@F) || exit 1 ; \
kusano 2b45e8
	fi; \
kusano 2b45e8
	done
kusano 2b45e8