diff -r 96b74270c3a1 -r 9269c76551cf src/work/athos/lp/Makefile --- a/src/work/athos/lp/Makefile Thu Apr 07 06:38:56 2005 +0000 +++ b/src/work/athos/lp/Makefile Thu Apr 07 09:42:31 2005 +0000 @@ -1,17 +1,20 @@ CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -all: lp_test +all: lp_sample clean: rm lp_test *.o -lp_base.o: lp_base.cc lp_base.h lin_expr.h +lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h lin_expr.h + lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h \ lin_expr.h -lp_glpk.o: lp_glpk.cc lp_glpk.h lp_base.h \ - lin_expr.h -lp_test.o: lp_test.cc lp_base.h lin_expr.h lp_solver_skeleton.h lp_base.h \ - lin_expr.h -lp_test: lp_test.o lp_base.o lp_solver_skeleton.o lp_glpk.o - $(CXX) -o $@ $^ -lglpk \ No newline at end of file +lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h + + +lp_sample.o: lp_sample.cc + +lp_sample: lp_sample.o lp_base.o lp_glpk.o + $(CXX) -o $@ $^ -lglpk +