Coalesce all tutorials requiring UMPACK under single conditional.

This commit is contained in:
Bård Skaflestad
2012-05-24 11:01:58 +02:00
parent 854e098dad
commit 637d10105b

View File

@@ -6,20 +6,16 @@ LDFLAGS = $(BOOST_LDFLAGS)
LDADD = $(top_builddir)/libopmcore.la
noinst_PROGRAMS = tutorial1
tutorial1_SOURCES = tutorial1.cpp
noinst_PROGRAMS = tutorial1
tutorial1_SOURCES = tutorial1.cpp
if UMFPACK
noinst_PROGRAMS += tutorial2
tutorial2_SOURCES = tutorial2.cpp
endif
noinst_PROGRAMS += \
tutorial2 \
tutorial3 \
tutorial4
if UMFPACK
noinst_PROGRAMS += tutorial3
tutorial3_SOURCES = tutorial3.cpp
endif
if UMFPACK
noinst_PROGRAMS += tutorial4
tutorial2_SOURCES = tutorial2.cpp
tutorial3_SOURCES = tutorial3.cpp
tutorial4_SOURCES = tutorial4.cpp
endif