COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/marci/makefile @ 96:e2e18eb0fd10

Last change on this file since 96:e2e18eb0fd10 was 96:e2e18eb0fd10, checked in by marci, 21 years ago

numerical results

File size: 1.4 KB
Line 
1CXX3 = g++-3.0
2CXX2 = g++-2.95
3CXXFLAGS = -W -Wall -ansi -pedantic
4LEDAROOT = /ledasrc/LEDA-4.1
5
6BINARIES = edmonds_karp_demo edmonds_karp_demo_alpar preflow_demo_leda preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos
7
8all: $(BINARIES)
9
10.depend dep depend:
11        -g++-2.95 -I. -I.. -I$(LEDAROOT)/incl -I/home/marci/boost -M *.cc > .depend 2>/dev/null
12
13
14makefile: .depend
15sinclude .depend
16
17edmonds_karp_demo:
18        $(CXX3) $(CXXFLAGS) -O3 -I. -I.. -o edmonds_karp_demo edmonds_karp_demo.cc
19        $(CXX3) $(CXXFLAGS) -g -pg -O3 -I. -I.. -o edmonds_karp_demo_prof edmonds_karp_demo.cc
20
21edmonds_karp_demo_alpar:
22        $(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../alpar -o edmonds_karp_demo_alpar edmonds_karp_demo_alpar.cc
23
24preflow_demo_leda:
25        $(CXX2) -W -Wall -O3 -DLEDA_PREFIX -I. -I$(LEDAROOT)/incl -L$(LEDAROOT) -o preflow_demo_leda preflow_demo_leda.cc -lP -lm -lL -lG
26
27preflow_demo_boost:
28        $(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc
29
30edmonds_karp_demo_boost:
31        $(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc
32
33preflow_demo_jacint:
34        $(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_demo_jacint preflow_demo_jacint.cc
35
36preflow_demo_athos:
37        $(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../athos -o preflow_demo_athos preflow_demo_athos.cc
38
39clean:
40        $(RM) *.o $(BINARIES) .depend
41
42.PHONY: all clean dep depend
Note: See TracBrowser for help on using the repository browser.