You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
611 B
Makefile
30 lines
611 B
Makefile
include Make.inc
|
|
#PREC=../mld2p4
|
|
PREC=baseprec
|
|
|
|
library:
|
|
( [ -d lib ] || mkdir lib)
|
|
(cd base; make lib)
|
|
(cd $(PREC); make lib )
|
|
(cd krylov; make lib)
|
|
(cd util; make lib )
|
|
@echo "====================================="
|
|
@echo "Compilation Successful."
|
|
@echo "You can now link to ./lib/libpsblas.a"
|
|
|
|
clean:
|
|
(cd base; make clean)
|
|
(cd $(PREC); make clean )
|
|
(cd krylov; make clean)
|
|
(cd util; make clean)
|
|
|
|
cleanlib:
|
|
(cd lib; /bin/rm -f *.a *$(.mod) *$(.fh))
|
|
veryclean: cleanlib
|
|
(cd base; make veryclean)
|
|
(cd $(PREC); make veryclean )
|
|
(cd krylov; make veryclean)
|
|
(cd util; make veryclean)
|
|
|
|
.PHONY: lib
|