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