Visually split description into sections. Add comments in the process.

No functional changes.
This commit is contained in:
Bård Skaflestad
2012-06-06 14:20:12 +02:00
parent 1817d55698
commit a097fde7c5

View File

@@ -1,15 +1,23 @@
# Build-time flags needed to form example programs
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(BOOST_CPPFLAGS)
# All targets link to the library
LDADD = $(top_builddir)/libopmcore.la
# Convenience make variable to avoid having to list the entire
# link-time dependency for every target that requires more than
# libopmcore.la
FULL_LDADD = \
$(LDADD) $(LIBS) \
$(BOOST_SYSTEM_LIB) $(BOOST_FILESYSTEM_LIB) \
$(LAPACK_LIBS) $(LIBS) $(LIBS)
# ----------------------------------------------------------------------
# Declare products (i.e., the example programs).
#
# Please keep the list sorted.
noinst_PROGRAMS = \
refine_wells \
@@ -18,6 +26,13 @@ sim_2p_incomp_reorder \
sim_wateroil \
wells_example
# ----------------------------------------------------------------------
# Product constituents. Must be specified for every product that's
# built from more than a single ".c" file and/or that link to anything
# more than the OPM-Core library.
#
# Please maintain sort order from "noinst_PROGRAMS".
refine_wells_SOURCES = refine_wells.cpp
sim_2p_incomp_reorder_SOURCES = sim_2p_incomp_reorder.cpp
@@ -28,6 +43,9 @@ sim_wateroil_LDADD = $(FULL_LDADD)
wells_example_SOURCES = wells_example.cpp
# ----------------------------------------------------------------------
# Optional examples, or examples that use optional add-on components.
if UMFPACK
noinst_PROGRAMS += spu_2p