Skip to content

Commit df89856

Browse files
committed
Builds the ncl module.
1 parent f632798 commit df89856

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile.Forthon

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ DEBUG = -v --fargs "-Ofast -DFORTHON -cpp" # -g #--fargs "-C=array" #--fargs "-C
33
SO = so
44
PUBLICHOME =
55
BUILDDIR = build
6-
DIRLIST = com aph api bbb flx grd svr wdf
6+
DIRLIST = com aph api bbb flx grd svr wdf ncl
77
MYPYTHON = python3
88
FORTHON = Forthon3
99
BUILDBASE = -v --build-base $(BUILDDIR)
@@ -15,7 +15,7 @@ INSTALLARGS = --pkgbase uedge $(BUILDBASE)
1515
# PETSC-UEDGE =
1616
# PETSC-COM =
1717

18-
all: mppl2f90 $(BUILDDIR)/compydep $(BUILDDIR)/grdpydep $(BUILDDIR)/flxpydep $(BUILDDIR)/bbbpydep $(BUILDDIR)/svrpydep $(BUILDDIR)/wdfpydep $(BUILDDIR)/aphpydep $(BUILDDIR)/apipydep
18+
all: mppl2f90 $(BUILDDIR)/compydep $(BUILDDIR)/grdpydep $(BUILDDIR)/flxpydep $(BUILDDIR)/bbbpydep $(BUILDDIR)/svrpydep $(BUILDDIR)/wdfpydep $(BUILDDIR)/aphpydep $(BUILDDIR)/apipydep $(BUILDDIR)/nclpydep
1919
rm -f uedgeC.so
2020

2121
mppl2f90:
@@ -53,6 +53,10 @@ $(BUILDDIR)/wdfpydep: wdf/wdf.F wdf/wdf.v
5353
$(FORTHON) -a $(INSTALLARGS) -a $(FCOMP) $(DEBUG) --interfacefile wdf/wdf.v -f wdf/wdf.F wdf
5454
touch $@
5555

56+
$(BUILDDIR)/nclpydep: ncl/ncl_driver.m ncl/ncl.v ncl/nclass_mod.f ncl/rarray_copy.f ncl/rarray_sum.f ncl/rarray_zero.f ncl/u_erf.f ncl/u_lu_backsub.f ncl/u_lu_decomp.f ncl/write_mod.f
57+
$(FORTHON) -a $(INSTALLARGS) -a $(FCOMP) $(DEBUG) --interfacefile ncl/ncl.v -f ncl/ncl_driver.F ncl ncl/nclass_mod.f ncl/rarray_copy.f ncl/rarray_sum.f ncl/rarray_zero.f ncl/u_erf.f ncl/u_lu_backsub.f ncl/u_lu_decomp.f ncl/write_mod.f
58+
59+
5660
public: all
5761
publishpyuedge90.py $(PUBLICHOME)
5862

0 commit comments

Comments
 (0)