From 637d10105b40a7f25b95cac0a3658ff24acdbdd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Thu, 24 May 2012 11:01:58 +0200 Subject: [PATCH] Coalesce all tutorials requiring UMPACK under single conditional. --- tutorials/Makefile.am | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/tutorials/Makefile.am b/tutorials/Makefile.am index f9d1de7b..5d77386b 100644 --- a/tutorials/Makefile.am +++ b/tutorials/Makefile.am @@ -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