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.
alpar@1254
     1
CXXFLAGS = -Wall -ggdb --no-inline -I../../..
athos@1315
     2
CXX = g++
alpar@1254
     3
athos@1314
     4
all: lp_sample
alpar@1254
     5
alpar@1256
     6
clean:
alpar@1256
     7
	rm lp_test *.o
alpar@1256
     8
athos@1314
     9
lp_base.o: ../../../lemon/lp_base.cc ../../../lemon/lp_base.h lin_expr.h
athos@1315
    10
	$(CXX) $(CXXFLAGS) -c  ../../../lemon/lp_base.cc -o $@
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
alpar@1253
    14
athos@1314
    15
lp_glpk.o: ../../../lemon/lp_glpk.cc ../../../lemon/lp_glpk.h ../../../lemon/lp_base.h lin_expr.h
athos@1314
    16
athos@1314
    17
athos@1314
    18
lp_sample.o: lp_sample.cc 
athos@1314
    19
athos@1314
    20
lp_sample: lp_sample.o lp_base.o lp_glpk.o 
athos@1314
    21
	$(CXX) -o $@ $^ -lglpk
athos@1314
    22