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