marci@435: #CXX3 := $(shell type -p g++-3.4 || shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) jacint@384: CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) jacint@384: CXX2 = g++-2.95 jacint@384: CXX=$(CXX3) jacint@384: CC=$(CXX) jacint@384: INCLUDEDIRS ?= -I../include -I.. -I../work/{marci,jacint,alpar,klao,akos,athos} jacint@384: CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) jacint@384: LEDAROOT ?= /ledasrc/LEDA-4.1 jacint@384: marci@460: BINARIES = dijkstra_heap_test jacint@384: jacint@384: all: $(BINARIES) jacint@384: jacint@384: .depend dep depend: jacint@384: -$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null jacint@384: jacint@384: makefile: .depend jacint@384: sinclude .depend jacint@384: jacint@384: clean: jacint@384: $(RM) *.o $(BINARIES) .depend jacint@384: jacint@384: .PHONY: all clean dep depend