COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/marci/makefile @ 175:ebccffe4d47b

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

correcting implicit typenames

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