COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/athos/lp/Makefile @ 1338:b261caf79ce7

Last change on this file since 1338:b261caf79ce7 was 1319:6e277ba3fc76, checked in by athos, 19 years ago

Cplex interface has improved a lot.

File size: 862 bytes
RevLine 
[1316]1CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -I..
[1254]2
[1319]3all: lp_sample_cplex
[1254]4
[1256]5clean:
6        rm lp_test *.o
7
[1316]8lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h
9        $(CXX) $(CXXFLAGS) -o $@ -c $<
10
[1314]11
[1319]12lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h
[1316]13        $(CXX) $(CXXFLAGS) -o $@ -c $<
[1253]14
[1319]15lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h
[1316]16        $(CXX) $(CXXFLAGS) -o $@ -c $<
[1314]17
[1319]18lp_cplex.o: lp_cplex.cc lp_cplex.h ../../../lemon/lp_base.h
19        $(CXX) $(CXXFLAGS) -I/usr/local/cplex/cplex75/include -o $@ -c $<
[1314]20
[1319]21lp_sample.o: lp_sample.cc
[1314]22
23lp_sample: lp_sample.o lp_base.o lp_glpk.o
24        $(CXX) -o $@ $^ -lglpk
25
[1319]26lp_sample_cplex: lp_sample_cplex.o lp_base.o lp_glpk.o
27        $(CXX) $(CXXFLAGS) -I/usr/local/cplex/cplex75/include -o $@ $^ -L/usr/local/cplex/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_pic_mt -lcplex -lm -lpthread
Note: See TracBrowser for help on using the repository browser.