A bool Edge Map with iterators that goes through the true or the false edges.
1 CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
5 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos}
6 CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS)
7 LEDAROOT ?= /ledasrc/LEDA-4.1
9 BINARIES = preflow #dijkstra prim
14 -$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
20 # $(CXX3) $(CXXFLAGS) -o preflow preflow.cc
23 # $(CXX3) $(CXXFLAGS) -o dijkstra dijkstra.cc
26 # $(CXX3) $(CXXFLAGS) -o prim prim.cc
29 $(RM) *.o $(BINARIES) .depend
31 .PHONY: all clean dep depend