mirror of https://gitlab.com/QEF/q-e.git
26 lines
440 B
Makefile
26 lines
440 B
Makefile
# Makefile for RMM
|
|
|
|
include ../../make.inc
|
|
|
|
# location of needed modules and included files (if any)
|
|
MODFLAGS= $(MOD_FLAG) ../../LAXlib $(MOD_FLAG) ../PPCG $(MOD_FLAG) ../../UtilXlib $(MOD_FLAG).
|
|
|
|
RMM = \
|
|
crmmdiagg.o \
|
|
crmmdiagg_gpu.o \
|
|
rrmmdiagg.o \
|
|
rrmmdiagg_gpu.o
|
|
|
|
|
|
all : librmm.a
|
|
|
|
|
|
librmm.a: $(RMM)
|
|
$(AR) $(ARFLAGS) $@ $?
|
|
$(RANLIB) $@
|
|
|
|
clean :
|
|
- /bin/rm -f *.o *.a *.d *.i *~ *_tmp.f90 *.mod *.L *.x
|
|
|
|
include make.depend
|