opm-core/tutorials/Makefile.am
Bård Skaflestad 6c35b9679b Don't clobber LDFLAGS user variable
Fix a misunderstanding that's been present since the inception.  The
LDFLAGS variable is entirely at the builder's disposal.  Flags needed
for system-internal settings must go in the AM_* equivalents.
2012-07-10 13:46:30 +02:00

22 lines
394 B
Makefile

AM_CPPFLAGS = \
-I$(top_srcdir) \
$(OPM_BOOST_CPPFLAGS)
AM_LDFLAGS = $(OPM_BOOST_LDFLAGS)
LDADD = $(top_builddir)/lib/libopmcore.la
noinst_PROGRAMS = tutorial1
tutorial1_SOURCES = tutorial1.cpp
if UMFPACK
noinst_PROGRAMS += \
tutorial2 \
tutorial3 \
tutorial4
tutorial2_SOURCES = tutorial2.cpp
tutorial3_SOURCES = tutorial3.cpp
tutorial4_SOURCES = tutorial4.cpp
endif