This way it works also when both GLPK and CPLEX are enabled.
1.1 --- a/src/lemon/Makefile.am Sun Apr 24 22:26:37 2005 +0000
1.2 +++ b/src/lemon/Makefile.am Sun Apr 24 22:30:54 2005 +0000
1.3 @@ -8,17 +8,15 @@
1.4 libemon_la_SOURCES = \
1.5 lp_base.cc \
1.6 lp_skeleton.cc
1.7 +libemon_la_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS)
1.8 +libemon_la_LDFLAGS = $(GLPK_LIBS) $(CPLEX_LIBS)
1.9
1.10 if HAVE_GLPK
1.11 libemon_la_SOURCES += lp_glpk.cc
1.12 -libemon_la_CXXFLAGS = $(GLPK_CFLAGS)
1.13 -libemon_la_LDFLAGS = $(GLPK_LIBS)
1.14 endif
1.15
1.16 if HAVE_CPLEX
1.17 libemon_la_SOURCES += lp_cplex.cc
1.18 -libemon_la_CXXFLAGS = $(CPLEX_CFLAGS)
1.19 -libemon_la_LDFLAGS = $(CPLEX_LIBS)
1.20 endif
1.21
1.22 nobase_pkginclude_HEADERS = \