COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/athos/lp/Makefile @ 1315:c91ae3600eea

Last change on this file since 1315:c91ae3600eea was 1315:c91ae3600eea, checked in by athos, 15 years ago

A sample file.

File size: 515 bytes
Line 
1CXXFLAGS = -Wall -ggdb --no-inline -I../../..
2CXX = g++
3
4all: lp_sample
5
6clean:
7        rm lp_test *.o
8
9lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h lin_expr.h
10        $(CXX) $(CXXFLAGS) -c  ../../../lemon/lp_base.cc -o $@
11
12lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h \
13                lin_expr.h
14
15lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h
16
17
18lp_sample.o: lp_sample.cc
19
20lp_sample: lp_sample.o lp_base.o lp_glpk.o
21        $(CXX) -o $@ $^ -lglpk
22
Note: See TracBrowser for help on using the repository browser.