Skip to content
Snippets Groups Projects
Commit 6052fb1f authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Build examples only when 'make check'.

parent 1ec5a711
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment