COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/demo/Makefile.am @ 1381:998e8def9676

Last change on this file since 1381:998e8def9676 was 1381:998e8def9676, checked in by Alpar Juttner, 15 years ago
  • lp_cplex.h, lp_cplex.cc added
  • lp_demo.cc and lp_maxflow_demo.cc uses GLPK is it is found CPLEX otherwise
File size: 1.0 KB
Line 
1AM_CPPFLAGS = -I$(top_srcdir)/src
2LDADD = $(top_builddir)/src/lemon/libemon.la
3
4if HAVE_GLPK
5LP_CFLAGS = $(GLPK_CFLAGS) -DHAVE_GLPK
6LP_LIBS = $(GLPK_LIBS)
7else !HAVE_GLPK
8if HAVE_CPLEX
9LP_CFLAGS = $(CPLEX_CFLAGS) -DHAVE_CPLEX
10LP_LIBS = $(CPLEX_LIBS)
11endif HAVE_CPLEX
12endif !HAVE_GLPK
13
14
15EXTRA_DIST = sub_graph_wrapper_demo.dim
16
17noinst_PROGRAMS = \
18        dim_to_dot \
19        dim_to_lgf \
20        graph_to_eps_demo \
21        min_route \
22        sub_graph_wrapper_demo
23
24if HAVE_GLPK
25noinst_PROGRAMS += lp_demo lp_maxflow_demo
26else !HAVE_GLPK
27if HAVE_CPLEX
28noinst_PROGRAMS += lp_demo lp_maxflow_demo
29endif HAVE_CPLEX
30endif !HAVE_GLPK
31
32
33dim_to_dot_SOURCES = dim_to_dot.cc
34
35dim_to_lgf_SOURCES = dim_to_lgf.cc
36
37graph_to_eps_demo_SOURCES = graph_to_eps_demo.cc
38
39min_route_SOURCES = min_route.cc
40
41sub_graph_wrapper_demo_SOURCES = \
42        sub_graph_wrapper_demo.cc \
43        tight_edge_filter_map.h
44
45lp_demo_SOURCES = lp_demo.cc
46lp_demo_CXXFLAGS = $(LP_CFLAGS)
47lp_demo_LDFLAGS = $(LP_LIBS)
48
49lp_maxflow_demo_SOURCES = lp_maxflow_demo.cc
50lp_maxflow_demo_CXXFLAGS = $(LP_CFLAGS)
51lp_maxflow_demo_LDFLAGS = $(LP_LIBS)
Note: See TracBrowser for help on using the repository browser.