author | alpar |
Sun, 21 Mar 2004 14:59:51 +0000 | |
changeset 224 | 5bc1c83257f8 |
parent 211 | 9222a9b8b323 |
child 311 | 6635b11938fe |
permissions | -rw-r--r-- |
marci@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++) |
jacint@111 | 2 |
CXX2 = g++-2.95 |
jacint@220 | 3 |
CXXFLAGS = -W -Wall -ansi -pedantic -O3 -I. -I.. -I../marci -I../alpar -I../../include |
jacint@211 | 4 |
LEDAROOT ?= /ledasrc/LEDA-4.1 |
jacint@72 | 5 |
|
jacint@211 | 6 |
BINARIES = dijkstra prim preflow |
jacint@72 | 7 |
|
jacint@111 | 8 |
all: $(BINARIES) |
jacint@111 | 9 |
|
jacint@111 | 10 |
makefile: .depend |
jacint@111 | 11 |
sinclude .depend |
jacint@111 | 12 |
|
jacint@111 | 13 |
preflow: |
jacint@220 | 14 |
$(CXX3) $(CXXFLAGS) -o preflow preflow.cc |
jacint@111 | 15 |
|
jacint@159 | 16 |
dijkstra: |
jacint@220 | 17 |
$(CXX3) $(CXXFLAGS) -o dijkstra dijkstra.cc |
jacint@159 | 18 |
|
jacint@170 | 19 |
prim: |
jacint@220 | 20 |
$(CXX3) $(CXXFLAGS) -o prim prim.cc |
jacint@170 | 21 |
|
jacint@111 | 22 |
clean: |
jacint@111 | 23 |
$(RM) *.o $(BINARIES) .depend |
jacint@111 | 24 |
|
jacint@111 | 25 |
.PHONY: all clean dep depend |