src/work/athos/lp/Makefile
changeset 1317 83f80464f111
parent 1315 c91ae3600eea
child 1319 6e277ba3fc76
equal deleted inserted replaced
6:484e477f64f2 7:284704965b9d
     1 CXXFLAGS = -Wall -ggdb --no-inline -I../../..
     1 CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -I..
     2 CXX = g++
       
     3 
     2 
     4 all: lp_sample
     3 all: lp_sample
     5 
     4 
     6 clean:
     5 clean:
     7 	rm lp_test *.o
     6 	rm lp_test *.o
     8 
     7 
     9 lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h lin_expr.h
     8 lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h 
    10 	$(CXX) $(CXXFLAGS) -c  ../../../lemon/lp_base.cc -o $@
     9 	$(CXX) $(CXXFLAGS) -o $@ -c $<
       
    10 
    11 
    11 
    12 lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h \
    12 lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h \
    13 		lin_expr.h
    13 		lin_expr.h
       
    14 	$(CXX) $(CXXFLAGS) -o $@ -c $<
    14 
    15 
    15 lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h
    16 lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h
       
    17 	$(CXX) $(CXXFLAGS) -o $@ -c $<
    16 
    18 
    17 
    19 
    18 lp_sample.o: lp_sample.cc 
    20 lp_sample.o: lp_sample.cc 
    19 
    21 
    20 lp_sample: lp_sample.o lp_base.o lp_glpk.o 
    22 lp_sample: lp_sample.o lp_base.o lp_glpk.o