author | alpar |
Fri, 20 Feb 2004 21:57:39 +0000 | |
changeset 106 | 0508d63fcc96 |
parent 82 | 4d6a48fc0a2d |
child 125 | 7d7dc3fab826 |
permissions | -rw-r--r-- |
marci@73 | 1 |
CXX3 = g++-3.0 |
marci@73 | 2 |
CXX2 = g++-2.95 |
marci@73 | 3 |
CXXFLAGS = -W -Wall -ansi -pedantic |
marci@73 | 4 |
LEDAROOT = /ledasrc/LEDA-4.1 |
marci@73 | 5 |
|
marci@96 | 6 |
BINARIES = edmonds_karp_demo edmonds_karp_demo_alpar preflow_demo_leda preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos |
marci@73 | 7 |
|
marci@73 | 8 |
all: $(BINARIES) |
marci@73 | 9 |
|
marci@73 | 10 |
.depend dep depend: |
marci@73 | 11 |
-g++-2.95 -I. -I.. -I$(LEDAROOT)/incl -I/home/marci/boost -M *.cc > .depend 2>/dev/null |
marci@73 | 12 |
|
marci@73 | 13 |
|
marci@73 | 14 |
makefile: .depend |
marci@73 | 15 |
sinclude .depend |
marci@73 | 16 |
|
marci@73 | 17 |
edmonds_karp_demo: |
marci@73 | 18 |
$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -o edmonds_karp_demo edmonds_karp_demo.cc |
marci@76 | 19 |
$(CXX3) $(CXXFLAGS) -g -pg -O3 -I. -I.. -o edmonds_karp_demo_prof edmonds_karp_demo.cc |
marci@73 | 20 |
|
marci@96 | 21 |
edmonds_karp_demo_alpar: |
marci@96 | 22 |
$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../alpar -o edmonds_karp_demo_alpar edmonds_karp_demo_alpar.cc |
marci@96 | 23 |
|
marci@73 | 24 |
preflow_demo_leda: |
marci@73 | 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 |
marci@73 | 26 |
|
marci@73 | 27 |
preflow_demo_boost: |
marci@73 | 28 |
$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc |
marci@73 | 29 |
|
marci@73 | 30 |
edmonds_karp_demo_boost: |
marci@73 | 31 |
$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc |
marci@73 | 32 |
|
marci@82 | 33 |
preflow_demo_jacint: |
marci@82 | 34 |
$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_demo_jacint preflow_demo_jacint.cc |
marci@82 | 35 |
|
marci@82 | 36 |
preflow_demo_athos: |
marci@82 | 37 |
$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../athos -o preflow_demo_athos preflow_demo_athos.cc |
marci@82 | 38 |
|
marci@73 | 39 |
clean: |
marci@73 | 40 |
$(RM) *.o $(BINARIES) .depend |
marci@73 | 41 |
|
marci@73 | 42 |
.PHONY: all clean dep depend |