Moved umfpack-dependent programs into conditional block.

This commit is contained in:
Atgeirr Flø Rasmussen 2011-12-12 10:30:40 +01:00
parent 0e84c3de31
commit 14dad62014
2 changed files with 9 additions and 7 deletions

View File

@ -6,7 +6,9 @@ $(top_builddir)/libopmcore.la \
$(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS)
noinst_PROGRAMS = \
spu_2p \
scaneclipsedeck
if UMFPACK
noinst_PROGRAMS += spu_2p
spu_2p_SOURCES = spu_2p.cpp
endif

View File

@ -7,14 +7,14 @@ $(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS)
noinst_PROGRAMS = \
test_jacsys \
test_readvector \
test_sf2p
if UMFPACK
noinst_PROGRAMS += test_cfs_tpfa
endif
test_jacsys_SOURCES = test_jacsys.cpp
test_readvector_SOURCES = test_readvector.cpp
test_sf2p_SOURCES = test_sf2p.cpp
if UMFPACK
noinst_PROGRAMS += test_cfs_tpfa
noinst_PROGRAMS += test_jacsys
test_jacsys_SOURCES = test_jacsys.cpp
endif