equal
deleted
inserted
replaced
1 CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) |
1 CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) |
2 CXX2 = g++-2.95 |
2 CXX2 = g++-2.95 |
3 CXX=$(CXX3) |
3 CXX=$(CXX3) |
4 CC=$(CXX) |
4 CC=$(CXX) |
5 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} |
5 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} |
6 CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) |
6 CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) |
7 LEDAROOT ?= /ledasrc/LEDA-4.1 |
7 LEDAROOT ?= /ledasrc/LEDA-4.1 |
8 |
8 |
9 BINARIES = preflow #dijkstra prim |
9 BINARIES = preflow #dijkstra_bin_fib_test #preflow # prim |
10 |
10 |
11 all: $(BINARIES) |
11 all: $(BINARIES) |
12 |
12 |
13 .depend dep depend: |
13 .depend dep depend: |
14 -$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null |
14 -$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null |