src/work/athos/lp/Makefile
changeset 1339 26a88d12d1a6
parent 1319 6e277ba3fc76
     1.1 --- a/src/work/athos/lp/Makefile	Mon Apr 11 14:26:35 2005 +0000
     1.2 +++ b/src/work/athos/lp/Makefile	Mon Apr 11 15:46:14 2005 +0000
     1.3 @@ -1,9 +1,9 @@
     1.4 -CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -I..
     1.5 +CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -I.. -I/usr/local/cplex/cplex75/include
     1.6  
     1.7  all: lp_sample_cplex
     1.8  
     1.9  clean:
    1.10 -	rm lp_test *.o
    1.11 +	rm lp_test lp_sample_cplex lp_sample *.o
    1.12  
    1.13  lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h 
    1.14  	$(CXX) $(CXXFLAGS) -o $@ -c $<
    1.15 @@ -23,5 +23,7 @@
    1.16  lp_sample: lp_sample.o lp_base.o lp_glpk.o 
    1.17  	$(CXX) -o $@ $^ -lglpk
    1.18  
    1.19 -lp_sample_cplex: lp_sample_cplex.o lp_base.o lp_glpk.o 
    1.20 -	$(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
    1.21 +lp_sample_cplex: lp_sample_cplex.o lp_base.o lp_cplex.o 
    1.22 +	$(CXX) $(CXXFLAGS)  -o $@ $^ -L/usr/local/cplex/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_pic_mt -lcplex -lm -lpthread
    1.23 +
    1.24 +#	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^