COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/athos/lp/Makefile @ 1316:daaf6b5c28d6

Last change on this file since 1316:daaf6b5c28d6 was 1316:daaf6b5c28d6, checked in by athos, 20 years ago

Makefile has changed.

File size: 541 bytes
Line 
1CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -I..
2
3all: lp_sample
4
5clean:
6        rm lp_test *.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                lin_expr.h
14        $(CXX) $(CXXFLAGS) -o $@ -c $<
15
16lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h
17        $(CXX) $(CXXFLAGS) -o $@ -c $<
18
19
20lp_sample.o: lp_sample.cc
21
22lp_sample: lp_sample.o lp_base.o lp_glpk.o
23        $(CXX) -o $@ $^ -lglpk
24
Note: See TracBrowser for help on using the repository browser.