1.1 --- a/src/work/athos/lp/Makefile Thu Apr 07 06:38:56 2005 +0000
1.2 +++ b/src/work/athos/lp/Makefile Thu Apr 07 09:42:31 2005 +0000
1.3 @@ -1,17 +1,20 @@
1.4 CXXFLAGS = -Wall -ggdb --no-inline -I../../..
1.5
1.6 -all: lp_test
1.7 +all: lp_sample
1.8
1.9 clean:
1.10 rm lp_test *.o
1.11
1.12 -lp_base.o: lp_base.cc lp_base.h lin_expr.h
1.13 +lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h lin_expr.h
1.14 +
1.15 lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h \
1.16 lin_expr.h
1.17 -lp_glpk.o: lp_glpk.cc lp_glpk.h lp_base.h \
1.18 - lin_expr.h
1.19 -lp_test.o: lp_test.cc lp_base.h lin_expr.h lp_solver_skeleton.h lp_base.h \
1.20 - lin_expr.h
1.21
1.22 -lp_test: lp_test.o lp_base.o lp_solver_skeleton.o lp_glpk.o
1.23 - $(CXX) -o $@ $^ -lglpk
1.24 \ No newline at end of file
1.25 +lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h
1.26 +
1.27 +
1.28 +lp_sample.o: lp_sample.cc
1.29 +
1.30 +lp_sample: lp_sample.o lp_base.o lp_glpk.o
1.31 + $(CXX) -o $@ $^ -lglpk
1.32 +