author | klao |
Mon, 29 Mar 2004 11:08:59 +0000 | |
changeset 258 | 94bafec4f56f |
parent 222 | 0c6bd3a98edf |
child 382 | f177fc597abd |
permissions | -rw-r--r-- |
alpar@222 | 1 |
CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) |
alpar@222 | 2 |
CXX2 = g++-2.95 |
alpar@222 | 3 |
CXXFLAGS = -W -Wall -ansi -pedantic |
alpar@222 | 4 |
LEDAROOT ?= /ledasrc/LEDA-4.1 |
alpar@222 | 5 |
|
alpar@222 | 6 |
BINARIES = dijkstra prim preflow |
alpar@222 | 7 |
|
alpar@222 | 8 |
all: $(BINARIES) |
alpar@222 | 9 |
|
alpar@222 | 10 |
makefile: .depend |
alpar@222 | 11 |
sinclude .depend |
alpar@222 | 12 |
|
alpar@222 | 13 |
dijkstra: |
alpar@257 | 14 |
$(CXX3) $(CXXFLAGS) -O3 -I. -I../../../include -I../../../include/skeleton -I../../jacint -I../.. -I../../marci -I../../alpar -o dijkstra dijkstra.cc |
alpar@222 | 15 |
|
alpar@222 | 16 |
clean: |
alpar@222 | 17 |
$(RM) *.o $(BINARIES) .depend |
alpar@222 | 18 |
|
alpar@222 | 19 |
.PHONY: all clean dep depend |