Commit 418a5040 authored by Sergey Kosukhin's avatar Sergey Kosukhin Committed by Ralf Müller
Browse files

Build examples only when 'make check'.

parent 71bba559
......@@ -2,12 +2,12 @@
#
EXTRA_DIST = cdi_read_f2003.f90 cdi_write_f2003.f90
#
noinst_PROGRAMS = cdi_write cdi_write_relativ cdi_write_ens cdi_write_hybrid cdi_write_local cdi_read cdi_copy
check_PROGRAMS = cdi_write cdi_write_relativ cdi_write_ens cdi_write_hybrid cdi_write_local cdi_read cdi_copy
if CREATE_ISOC
noinst_PROGRAMS += cdi_read_f2003 cdi_write_f2003
check_PROGRAMS += cdi_read_f2003 cdi_write_f2003
endif
if ENABLE_NETCDF
noinst_PROGRAMS += cdi_write_const
check_PROGRAMS += cdi_write_const
endif
#
AM_CPPFLAGS = -I$(top_srcdir)/src
......
noinst_PROGRAMS=collectData collectDataNStreams
check_PROGRAMS=collectData collectDataNStreams
AM_CPPFLAGS = -I$(top_srcdir)/src $(YAXT_CFLAGS)
AM_FCFLAGS = $(FPP_INCOPT)$(top_srcdir)/src $(MPI_FC_INCLUDE)
AM_CFLAGS = $(MPI_C_INCLUDE)
if USE_MPI
noinst_PROGRAMS+=compareResourcesArray
check_PROGRAMS+=compareResourcesArray
AM_FCFLAGS += $(FPP_DEFOPT)USE_MPI
endif
if USE_FC
noinst_PROGRAMS+=collectData2003
check_PROGRAMS+=collectData2003
endif
collectData_SOURCES=collectData.c
......
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