COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/marci/makefile @ 132:1ac27e476e25

Last change on this file since 132:1ac27e476e25 was 125:7d7dc3fab826, checked in by Mihaly Barasz, 21 years ago

4.4.1-es ledahoz a demo atalakitva

File size: 1.5 KB
Line 
1CXX3 = g++-3.0
2CXX2 = g++-2.95
3CXX3.3 = g++
4CXXFLAGS = -W -Wall -ansi -pedantic
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
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) -O3 -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
22edmonds_karp_demo_alpar:
23        $(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../alpar -o edmonds_karp_demo_alpar edmonds_karp_demo_alpar.cc
24
25preflow_demo_leda:
26        $(CXX2) -W -Wall -O3 -DLEDA_PREFIX -I. -I$(LEDAROOT)/incl -L$(LEDAROOT) -o preflow_demo_leda preflow_demo_leda.cc -lP -lm -lL -lG
27
28preflow_demo_leda_uj:
29        $(CXX3.3) -Wall -O3 -I$(LEDAROOT)/incl -I. -L$(LEDAROOT) -o preflow_demo_leda_uj preflow_demo_leda_uj.cc -lG -lL -lm
30
31preflow_demo_boost:
32        $(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc
33
34edmonds_karp_demo_boost:
35        $(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc
36
37preflow_demo_jacint:
38        $(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_demo_jacint preflow_demo_jacint.cc
39
40preflow_demo_athos:
41        $(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../athos -o preflow_demo_athos preflow_demo_athos.cc
42
43clean:
44        $(RM) *.o $(BINARIES) .depend
45
46.PHONY: all clean dep depend
Note: See TracBrowser for help on using the repository browser.