This way it works also when both GLPK and CPLEX are enabled.
authorladanyi
Sun, 24 Apr 2005 22:30:54 +0000
changeset 1386324c291a8daf
parent 1385 49d1ca28ebd8
child 1387 37d1b20cd9ef
This way it works also when both GLPK and CPLEX are enabled.
src/lemon/Makefile.am
     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 = \