athos@1339: CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -I.. -I/usr/local/cplex/cplex75/include alpar@1254: athos@1319: all: lp_sample_cplex alpar@1254: alpar@1256: clean: athos@1339: rm lp_test lp_sample_cplex lp_sample *.o alpar@1256: athos@1316: lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h athos@1316: $(CXX) $(CXXFLAGS) -o $@ -c $< athos@1316: athos@1314: athos@1319: lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h athos@1316: $(CXX) $(CXXFLAGS) -o $@ -c $< alpar@1253: athos@1319: lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h athos@1316: $(CXX) $(CXXFLAGS) -o $@ -c $< athos@1314: athos@1319: lp_cplex.o: lp_cplex.cc lp_cplex.h ../../../lemon/lp_base.h athos@1319: $(CXX) $(CXXFLAGS) -I/usr/local/cplex/cplex75/include -o $@ -c $< athos@1314: athos@1319: lp_sample.o: lp_sample.cc athos@1314: athos@1314: lp_sample: lp_sample.o lp_base.o lp_glpk.o athos@1314: $(CXX) -o $@ $^ -lglpk athos@1314: athos@1339: lp_sample_cplex: lp_sample_cplex.o lp_base.o lp_cplex.o athos@1339: $(CXX) $(CXXFLAGS) -o $@ $^ -L/usr/local/cplex/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_pic_mt -lcplex -lm -lpthread athos@1339: athos@1339: # $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^