bin_PROGRAMS = sand-wedge sliding-block-2D common_sources = \ assemblers.cc \ boundary_writer.cc \ friction_writer.cc \ solverfactory.cc \ timestepping.cc \ vtk.cc sand_wedge_SOURCES = $(common_sources) sand-wedge.cc sand_wedge_CPPFLAGS = \ $(AM_CPPFLAGS) $(BOOST_CPPFLAGS) \ -Ddatadir=\"$(abs_srcdir)/sand-wedge-data/\" -DDIM=2 sliding_block_2D_SOURCES = $(common_sources) sliding-block.cc sliding_block_2D_CPPFLAGS = \ $(AM_CPPFLAGS) \ -Ddatadir=\"$(abs_srcdir)/sliding-block-data/\" -DDIM=2 # Some are for clang, others are for gcc AM_CXXFLAGS = \ -Wall \ -Wextra \ -Wno-unused-parameter \ -Wno-overloaded-virtual \ -Wno-new-returns-null \ -Wno-unknown-warning-option \ -Wno-unknown-pragmas AM_CPPFLAGS = \ -DDUNE_FMatrix_WITH_CHECKING \ $(DUNE_CPPFLAGS) \ $(PYTHON_CPPFLAGS) \ $(ALUGRID_CPPFLAGS) \ -I$(top_srcdir) # The libraries have to be given in reverse order (most basic libraries # last). LDADD = \ $(DUNE_LDFLAGS) $(DUNE_LIBS) \ $(ALUGRID_LIBS) \ $(PYTHON_LIBS) AM_LDFLAGS = \ $(DUNE_LDFLAGS) \ $(ALUGRID_LDFLAGS) \ $(PYTHON_LDFLAGS) if CAIROMM AM_CPPFLAGS += $(CAIROMM_CFLAGS) LDADD += $(CAIROMM_LIBS) endif include $(top_srcdir)/am/global-rules