diff --git a/arcos_f90/src/Makefile b/arcos_f90/src/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..9e890d614bb55c4824a1f88c1d17c1dea67f8816 --- /dev/null +++ b/arcos_f90/src/Makefile @@ -0,0 +1,28 @@ + +TOPDIR := ../.. + +include $(TOPDIR)/Makefile.config +include $(TOPDIR)/Makefile.inc + +.PHONY: all + +all: lib + +SRCF = cdr_advect_diffu_vec.f90 +SRCC = cdr_advect_diffu_wrap.c + +INCDIRS = ../../include + +OBJF =$(subst .f90,.o,$(SRCF)) +OBJC =$(subst .c,.o,$(SRCC)) +OBJ := $(OBJF) $(OBJC) + +LIB =../lib/libarcos.a + +lib : $(LIB) + +$(LIB) : $(OBJ) + $(AR) $@ $? + +clean: + rm -f $(LIB) $(OBJ) *~