author | marci |
Fri, 12 Mar 2004 09:46:44 +0000 | |
changeset 176 | f574ee5750fc |
parent 175 | ebccffe4d47b |
child 180 | 95f0c5f3fc70 |
permissions | -rw-r--r-- |
marci@176 | 1 |
CXX3 = g++-3.0 |
marci@73 | 2 |
CXX2 = g++-2.95 |
klao@125 | 3 |
CXX3.3 = g++ |
marci@174 | 4 |
CXXFLAGS = -W -Wall -ansi -pedantic -I. -I.. -I../alpar |
klao@125 | 5 |
LEDAROOT ?= /ledasrc/LEDA-4.1 |
marci@73 | 6 |
|
marci@174 | 7 |
BINARIES = 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 |
marci@73 | 8 |
|
marci@73 | 9 |
all: $(BINARIES) |
marci@73 | 10 |
|
marci@73 | 11 |
.depend dep depend: |
marci@73 | 12 |
-g++-2.95 -I. -I.. -I$(LEDAROOT)/incl -I/home/marci/boost -M *.cc > .depend 2>/dev/null |
marci@73 | 13 |
|
marci@73 | 14 |
|
marci@73 | 15 |
makefile: .depend |
marci@73 | 16 |
sinclude .depend |
marci@73 | 17 |
|
marci@73 | 18 |
edmonds_karp_demo: |
marci@174 | 19 |
$(CXX3) $(CXXFLAGS) -g -I. -I.. -o edmonds_karp_demo edmonds_karp_demo.cc |
marci@174 | 20 |
$(CXX3) $(CXXFLAGS) -g -pg -O3 -I. -I.. -o edmonds_karp_demo_prof edmonds_karp_demo.cc |
marci@174 | 21 |
|
marci@174 | 22 |
lg_vs_sg: |
marci@174 | 23 |
$(CXX3) $(CXXFLAGS) -g -O3 -I. -I.. -o lg_vs_sg lg_vs_sg.cc |
marci@73 | 24 |
|
marci@96 | 25 |
edmonds_karp_demo_alpar: |
marci@96 | 26 |
$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../alpar -o edmonds_karp_demo_alpar edmonds_karp_demo_alpar.cc |
marci@96 | 27 |
|
marci@73 | 28 |
preflow_demo_leda: |
marci@73 | 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 |
marci@73 | 30 |
|
klao@125 | 31 |
preflow_demo_leda_uj: |
klao@125 | 32 |
$(CXX3.3) -Wall -O3 -I$(LEDAROOT)/incl -I. -L$(LEDAROOT) -o preflow_demo_leda_uj preflow_demo_leda_uj.cc -lG -lL -lm |
klao@125 | 33 |
|
marci@73 | 34 |
preflow_demo_boost: |
marci@73 | 35 |
$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc |
marci@73 | 36 |
|
marci@73 | 37 |
edmonds_karp_demo_boost: |
marci@73 | 38 |
$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc |
marci@73 | 39 |
|
marci@82 | 40 |
preflow_demo_jacint: |
marci@82 | 41 |
$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_demo_jacint preflow_demo_jacint.cc |
marci@82 | 42 |
|
marci@82 | 43 |
preflow_demo_athos: |
marci@82 | 44 |
$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../athos -o preflow_demo_athos preflow_demo_athos.cc |
marci@82 | 45 |
|
marci@73 | 46 |
clean: |
marci@73 | 47 |
$(RM) *.o $(BINARIES) .depend |
marci@73 | 48 |
|
marci@73 | 49 |
.PHONY: all clean dep depend |