src/work/athos/lp/Makefile
author athos
Thu, 07 Apr 2005 10:19:10 +0000
changeset 1315 c91ae3600eea
parent 1314 9269c76551cf
child 1316 daaf6b5c28d6
permissions -rw-r--r--
A sample file.
     1 CXXFLAGS = -Wall -ggdb --no-inline -I../../..
     2 CXX = g++
     3 
     4 all: lp_sample
     5 
     6 clean:
     7 	rm lp_test *.o
     8 
     9 lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h lin_expr.h
    10 	$(CXX) $(CXXFLAGS) -c  ../../../lemon/lp_base.cc -o $@
    11 
    12 lp_solver_skeleton.o: lp_solver_skeleton.cc lp_solver_skeleton.h lp_base.h \
    13 		lin_expr.h
    14 
    15 lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h
    16 
    17 
    18 lp_sample.o: lp_sample.cc 
    19 
    20 lp_sample: lp_sample.o lp_base.o lp_glpk.o 
    21 	$(CXX) -o $@ $^ -lglpk
    22