src/work/athos/lp/Makefile
author athos
Thu, 07 Apr 2005 10:44:32 +0000
changeset 1316 daaf6b5c28d6
parent 1315 c91ae3600eea
child 1319 6e277ba3fc76
permissions -rw-r--r--
Makefile has changed.
     1 CXXFLAGS = -Wall -ggdb --no-inline -I../../.. -I..
     2 
     3 all: lp_sample
     4 
     5 clean:
     6 	rm lp_test *.o
     7 
     8 lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h 
     9 	$(CXX) $(CXXFLAGS) -o $@ -c $<
    10 
    11 
    12 lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h \
    13 		lin_expr.h
    14 	$(CXX) $(CXXFLAGS) -o $@ -c $<
    15 
    16 lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h
    17 	$(CXX) $(CXXFLAGS) -o $@ -c $<
    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