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.
33 lines
641 B
Makefile
33 lines
641 B
Makefile
include ../Make.inc
|
|
|
|
HERE=.
|
|
LIBDIR=../lib
|
|
INCDIR=../include
|
|
MODDIR=../modules/
|
|
LIBNAME=$(CBINDLIBNAME)
|
|
|
|
lib: based precd krylovd
|
|
/bin/cp -p $(CPUPDFLAG) $(HERE)/$(LIBNAME) $(LIBDIR)
|
|
/bin/cp -p $(CPUPDFLAG) *.h $(INCDIR)
|
|
/bin/cp -p $(CPUPDFLAG) *$(.mod) $(MODDIR)
|
|
|
|
|
|
|
|
based:
|
|
cd base && $(MAKE) lib LIBNAME=$(LIBNAME)
|
|
precd: based
|
|
cd prec && $(MAKE) lib LIBNAME=$(LIBNAME)
|
|
krylovd: based precd
|
|
cd krylov && $(MAKE) lib LIBNAME=$(LIBNAME)
|
|
|
|
|
|
clean:
|
|
cd base && $(MAKE) clean
|
|
cd prec && $(MAKE) clean
|
|
cd krylov && $(MAKE) clean
|
|
|
|
|
|
veryclean: clean
|
|
cd test/pargen && $(MAKE) clean
|
|
/bin/rm -f $(HERE)/$(LIBNAME) $(LIBMOD) *$(.mod) *.h
|