src/lemon/Makefile.am
changeset 1398 2f21cc34a245
parent 1381 998e8def9676
child 1401 9588dcef6793
equal deleted inserted replaced
22:7b0c1cf8f7fc 23:2c245fa54ee6
     6 lib_LTLIBRARIES = libemon.la
     6 lib_LTLIBRARIES = libemon.la
     7 
     7 
     8 libemon_la_SOURCES = \
     8 libemon_la_SOURCES = \
     9 	lp_base.cc \
     9 	lp_base.cc \
    10 	lp_skeleton.cc
    10 	lp_skeleton.cc
       
    11 libemon_la_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS)
       
    12 libemon_la_LDFLAGS = $(GLPK_LIBS) $(CPLEX_LIBS)
    11 
    13 
    12 if HAVE_GLPK
    14 if HAVE_GLPK
    13 libemon_la_SOURCES += lp_glpk.cc
    15 libemon_la_SOURCES += lp_glpk.cc
    14 libemon_la_CXXFLAGS = $(GLPK_CFLAGS)
       
    15 libemon_la_LDFLAGS = $(GLPK_LIBS)
       
    16 endif
    16 endif
    17 
    17 
    18 if HAVE_CPLEX
    18 if HAVE_CPLEX
    19 libemon_la_SOURCES += lp_cplex.cc
    19 libemon_la_SOURCES += lp_cplex.cc
    20 libemon_la_CXXFLAGS = $(CPLEX_CFLAGS)
       
    21 libemon_la_LDFLAGS = $(CPLEX_LIBS)
       
    22 endif
    20 endif
    23 
    21 
    24 nobase_pkginclude_HEADERS = \
    22 nobase_pkginclude_HEADERS = \
    25 	bezier.h \
    23 	bezier.h \
    26 	bfs.h \
    24 	bfs.h \