COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/athos/lp/Makefile @ 1339:26a88d12d1a6

Last change on this file since 1339:26a88d12d1a6 was 1339:26a88d12d1a6, checked in by athos, 20 years ago

A little has been done. Some important questions arised.

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