diff -r 88edb143a87a -r 6e277ba3fc76 src/work/athos/lp/Makefile --- a/src/work/athos/lp/Makefile Thu Apr 07 12:54:35 2005 +0000 +++ b/src/work/athos/lp/Makefile Thu Apr 07 15:22:03 2005 +0000 @@ -1,6 +1,6 @@ CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -I.. -all: lp_sample +all: lp_sample_cplex clean: rm lp_test *.o @@ -9,16 +9,19 @@ $(CXX) $(CXXFLAGS) -o $@ -c $< -lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h \ - lin_expr.h +lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h $(CXX) $(CXXFLAGS) -o $@ -c $< -lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h +lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h $(CXX) $(CXXFLAGS) -o $@ -c $< +lp_cplex.o: lp_cplex.cc lp_cplex.h ../../../lemon/lp_base.h + $(CXX) $(CXXFLAGS) -I/usr/local/cplex/cplex75/include -o $@ -c $< -lp_sample.o: lp_sample.cc +lp_sample.o: lp_sample.cc lp_sample: lp_sample.o lp_base.o lp_glpk.o $(CXX) -o $@ $^ -lglpk +lp_sample_cplex: lp_sample_cplex.o lp_base.o lp_glpk.o + $(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