author | alpar |
Thu, 07 Apr 2005 11:30:12 +0000 | |
changeset 1317 | 83f80464f111 |
parent 1315 | c91ae3600eea |
child 1319 | 6e277ba3fc76 |
permissions | -rw-r--r-- |
athos@1316 | 1 |
CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -I.. |
alpar@1254 | 2 |
|
athos@1314 | 3 |
all: lp_sample |
alpar@1254 | 4 |
|
alpar@1256 | 5 |
clean: |
alpar@1256 | 6 |
rm lp_test *.o |
alpar@1256 | 7 |
|
athos@1316 | 8 |
lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h |
athos@1316 | 9 |
$(CXX) $(CXXFLAGS) -o $@ -c $< |
athos@1316 | 10 |
|
athos@1314 | 11 |
|
alpar@1254 | 12 |
lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h \ |
alpar@1254 | 13 |
lin_expr.h |
athos@1316 | 14 |
$(CXX) $(CXXFLAGS) -o $@ -c $< |
alpar@1253 | 15 |
|
athos@1314 | 16 |
lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h |
athos@1316 | 17 |
$(CXX) $(CXXFLAGS) -o $@ -c $< |
athos@1314 | 18 |
|
athos@1314 | 19 |
|
athos@1314 | 20 |
lp_sample.o: lp_sample.cc |
athos@1314 | 21 |
|
athos@1314 | 22 |
lp_sample: lp_sample.o lp_base.o lp_glpk.o |
athos@1314 | 23 |
$(CXX) -o $@ $^ -lglpk |
athos@1314 | 24 |