author | marci |
Mon, 26 Apr 2004 09:54:24 +0000 | |
changeset 409 | 7ab7f083760a |
child 435 | 8f1dece01cc4 |
permissions | -rw-r--r-- |
jacint@384 | 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@384 | 2 |
CXX2 = g++-2.95 |
jacint@384 | 3 |
CXX=$(CXX3) |
jacint@384 | 4 |
CC=$(CXX) |
jacint@384 | 5 |
INCLUDEDIRS ?= -I../include -I.. -I../work/{marci,jacint,alpar,klao,akos,athos} |
jacint@384 | 6 |
CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) |
jacint@384 | 7 |
LEDAROOT ?= /ledasrc/LEDA-4.1 |
jacint@384 | 8 |
|
jacint@384 | 9 |
BINARIES = dijkstra_heap_test |
jacint@384 | 10 |
|
jacint@384 | 11 |
all: $(BINARIES) |
jacint@384 | 12 |
|
jacint@384 | 13 |
.depend dep depend: |
jacint@384 | 14 |
-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null |
jacint@384 | 15 |
|
jacint@384 | 16 |
makefile: .depend |
jacint@384 | 17 |
sinclude .depend |
jacint@384 | 18 |
|
jacint@384 | 19 |
clean: |
jacint@384 | 20 |
$(RM) *.o $(BINARIES) .depend |
jacint@384 | 21 |
|
jacint@384 | 22 |
.PHONY: all clean dep depend |