Rev | Line | |
---|
[200] | 1 | CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) |
---|
[111] | 2 | CXX2 = g++-2.95 |
---|
[220] | 3 | CXXFLAGS = -W -Wall -ansi -pedantic -O3 -I. -I.. -I../marci -I../alpar -I../../include |
---|
[211] | 4 | LEDAROOT ?= /ledasrc/LEDA-4.1 |
---|
[72] | 5 | |
---|
[211] | 6 | BINARIES = dijkstra prim preflow |
---|
[72] | 7 | |
---|
[111] | 8 | all: $(BINARIES) |
---|
| 9 | |
---|
| 10 | makefile: .depend |
---|
| 11 | sinclude .depend |
---|
| 12 | |
---|
| 13 | preflow: |
---|
[220] | 14 | $(CXX3) $(CXXFLAGS) -o preflow preflow.cc |
---|
[111] | 15 | |
---|
[159] | 16 | dijkstra: |
---|
[220] | 17 | $(CXX3) $(CXXFLAGS) -o dijkstra dijkstra.cc |
---|
[159] | 18 | |
---|
[170] | 19 | prim: |
---|
[220] | 20 | $(CXX3) $(CXXFLAGS) -o prim prim.cc |
---|
[170] | 21 | |
---|
[111] | 22 | clean: |
---|
| 23 | $(RM) *.o $(BINARIES) .depend |
---|
| 24 | |
---|
| 25 | .PHONY: all clean dep depend |
---|
Note: See
TracBrowser
for help on using the repository browser.