author | marci |
Fri, 23 Apr 2004 08:08:41 +0000 | |
changeset 380 | 6399494e30b1 |
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 |