author | athos |
Tue, 04 May 2004 16:52:15 +0000 | |
changeset 530 | d9c06ac0b3a3 |
parent 489 | afbdf8a3a633 |
permissions | -rw-r--r-- |
1 INCLUDEDIRS ?= -I../include
2 CXXFLAGS += -W -Wall -O3 -ansi -pedantic $(INCLUDEDIRS)
3 #LEDAROOT ?= /ledasrc/LEDA-4.1
5 BINARIES = dijkstra_heap_test unionfind_test error_test
7 ifdef GCCVER
8 CXX := g++-$(GCCVER)
9 else
10 CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
11 endif
13 CC=$(CXX)
15 all: $(BINARIES)
17 .depend dep depend:
18 $(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend
20 makefile: .depend
21 sinclude .depend
23 clean:
24 $(RM) *.o $(BINARIES) .depend
26 .PHONY: all clean dep depend