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 CXX=$(CXX3) CC=$(CXX) INCLUDEDIRS ?= -I../include -I.. -I../work/{marci,jacint,alpar,klao,akos,athos} CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) LEDAROOT ?= /ledasrc/LEDA-4.1 BINARIES = dijkstra_heap_test all: $(BINARIES) .depend dep depend: -$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null makefile: .depend sinclude .depend clean: $(RM) *.o $(BINARIES) .depend .PHONY: all clean dep depend