1.1 --- a/src/work/athos/lp/Makefile Thu Apr 07 12:54:35 2005 +0000
1.2 +++ b/src/work/athos/lp/Makefile Thu Apr 07 15:22:03 2005 +0000
1.3 @@ -1,6 +1,6 @@
1.4 CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -I..
1.5
1.6 -all: lp_sample
1.7 +all: lp_sample_cplex
1.8
1.9 clean:
1.10 rm lp_test *.o
1.11 @@ -9,16 +9,19 @@
1.12 $(CXX) $(CXXFLAGS) -o $@ -c $<
1.13
1.14
1.15 -lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h \
1.16 - lin_expr.h
1.17 +lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h
1.18 $(CXX) $(CXXFLAGS) -o $@ -c $<
1.19
1.20 -lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h
1.21 +lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h
1.22 $(CXX) $(CXXFLAGS) -o $@ -c $<
1.23
1.24 +lp_cplex.o: lp_cplex.cc lp_cplex.h ../../../lemon/lp_base.h
1.25 + $(CXX) $(CXXFLAGS) -I/usr/local/cplex/cplex75/include -o $@ -c $<
1.26
1.27 -lp_sample.o: lp_sample.cc
1.28 +lp_sample.o: lp_sample.cc
1.29
1.30 lp_sample: lp_sample.o lp_base.o lp_glpk.o
1.31 $(CXX) -o $@ $^ -lglpk
1.32
1.33 +lp_sample_cplex: lp_sample_cplex.o lp_base.o lp_glpk.o
1.34 + $(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