Rev | Line | |
---|
[1316] | 1 | CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -I.. |
---|
[1254] | 2 | |
---|
[1314] | 3 | all: lp_sample |
---|
[1254] | 4 | |
---|
[1256] | 5 | clean: |
---|
| 6 | rm lp_test *.o |
---|
| 7 | |
---|
[1316] | 8 | lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h |
---|
| 9 | $(CXX) $(CXXFLAGS) -o $@ -c $< |
---|
| 10 | |
---|
[1314] | 11 | |
---|
[1254] | 12 | lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h \ |
---|
| 13 | lin_expr.h |
---|
[1316] | 14 | $(CXX) $(CXXFLAGS) -o $@ -c $< |
---|
[1253] | 15 | |
---|
[1314] | 16 | lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h |
---|
[1316] | 17 | $(CXX) $(CXXFLAGS) -o $@ -c $< |
---|
[1314] | 18 | |
---|
| 19 | |
---|
| 20 | lp_sample.o: lp_sample.cc |
---|
| 21 | |
---|
| 22 | lp_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.