opm-core/examples/Makefile.am
Bård Skaflestad 72953ac126 Add an example program demonstrating the use of the ImplicitTransport solver.
Building contingent upon availability of both OPMPressure *and* UMFPACK.
2011-10-05 20:06:03 +02:00

30 lines
602 B
Makefile

# Additional definitions to ensure proper include paths
AM_CPPFLAGS = \
-I$(top_srcdir)/src
AM_LDFLAGS = \
$(LAPACK_LIBS) $(BLAS_LIBS)
#-----------------------------------------------------------------------
# Declare example programs
noinst_PROGRAMS =
# "spu_2p" depends on availability of OPMPressure and UMFPACK
if UMFPACK
if OPMPRESSURE_SPARSE_SYS
noinst_PROGRAMS += spu_2p
endif
endif
#-----------------------------------------------------------------------
# Example program sources
spu_2p_SOURCES = \
spu_2p.cpp \
call_umfpack.c \
cart_grid.c \
transport_source.c