Commit 49460b62 authored by gsell's avatar gsell
Browse files

examples:

- compile Fortran examples only if parallel is enabled
parent 8ae12f7e
......@@ -35,6 +35,7 @@ noinst_PROGRAMS += \
endif
if ENABLE_FORTRAN
if ENABLE_PARALLEL
noinst_PROGRAMS += \
openclosef \
queryf \
......@@ -51,6 +52,7 @@ write_file_attribsf_SOURCES = write_file_attribsf.f90
write_step_attribsf_SOURCES = write_step_attribsf.f90
endif
endif
endif
%.o : %.f90
$(FC) $(FFLAGS) -c $<
......@@ -30,8 +30,10 @@ noinst_PROGRAMS += \
endif
if ENABLE_FORTRAN
if ENABLE_PARALLEL
noinst_PROGRAMS += read_write_scalar_fieldf
endif
endif
fields_SOURCES = fields.c
read_write_scalar_field_SOURCES = read_write_scalar_field.c
......
......@@ -41,6 +41,7 @@ noinst_PROGRAMS += \
endif
if ENABLE_FORTRAN
if ENABLE_PARALLEL
noinst_PROGRAMS += \
read_core_vfdf \
read_canonicalviewf \
......@@ -52,6 +53,7 @@ noinst_PROGRAMS += \
write_setviewf \
write_stridedf
endif
endif
EXTRA_PROGRAMS =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment