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.
29 lines
485 B
Makefile
29 lines
485 B
Makefile
|
|
include ../Make.inc
|
|
|
|
HERE=.
|
|
LIBDIR=../lib
|
|
INCDIR=../include
|
|
MODDIR=../modules/
|
|
LIBNAME=$(CBINDLIBNAME)
|
|
LIBNAME=libamg_cbind.a
|
|
|
|
all: lib
|
|
lib: amgprecd
|
|
/bin/cp -p $(CPUPDFLAG) $(HERE)/$(LIBNAME) $(LIBDIR)
|
|
/bin/cp -p $(CPUPDFLAG) *.h $(INCDIR)
|
|
/bin/cp -p $(CPUPDFLAG) *$(.mod) $(MODDIR)
|
|
|
|
|
|
amgprecd:
|
|
$(MAKE) -C amgprec lib LIBNAME=$(LIBNAME)
|
|
|
|
|
|
clean:
|
|
$(MAKE) -C amgprec clean
|
|
|
|
|
|
veryclean: clean
|
|
cd test/pargen && $(MAKE) clean
|
|
/bin/rm -f $(HERE)/$(LIBNAME) $(LIBMOD) *$(.mod) *.h
|