CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) CXX2 = g++-2.95 CXXFLAGS = -W -Wall -ansi -pedantic -O3 -I. -I.. -I../marci -I../alpar -I../../include LEDAROOT ?= /ledasrc/LEDA-4.1 BINARIES = dijkstra prim preflow all: $(BINARIES) makefile: .depend sinclude .depend preflow: $(CXX3) $(CXXFLAGS) -o preflow preflow.cc dijkstra: $(CXX3) $(CXXFLAGS) -o dijkstra dijkstra.cc prim: $(CXX3) $(CXXFLAGS) -o prim prim.cc clean: $(RM) *.o $(BINARIES) .depend .PHONY: all clean dep depend