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.
psblas3/test/halo_new/Makefile

35 lines
671 B
Makefile

INSTALLDIR=../..
INCDIR=$(INSTALLDIR)/include/
MODDIR=$(INSTALLDIR)/modules/
include $(INCDIR)/Make.inc.psblas
#
# Libraries used
#
LIBDIR=$(INSTALLDIR)/lib/
PSBLAS_LIB= -L$(LIBDIR) -lpsb_util -lpsb_linsolve -lpsb_prec -lpsb_base
LDLIBS=$(PSBLDLIBS)
FINCLUDES=$(FMFLAG)$(MODDIR) $(FMFLAG).
TOBJS=test_halo_new.o
EXEDIR=./runs
all: runsd test_halo_new
runsd:
(if test ! -d runs ; then mkdir runs; fi)
test_halo_new: $(TOBJS)
$(FLINK) $(LOPT) $(TOBJS) -o test_halo_new $(PSBLAS_LIB) $(LDLIBS)
/bin/mv test_halo_new $(EXEDIR)
clean:
/bin/rm -f $(TOBJS) *$(.mod) $(EXEDIR)/test_halo_new
lib:
(cd ../../; make library)
verycleanlib:
(cd ../../; make veryclean)