src/test/makefile
changeset 384 f27d21767d38
child 435 8f1dece01cc4
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/test/makefile	Fri Apr 23 18:48:56 2004 +0000
     1.3 @@ -0,0 +1,22 @@
     1.4 +CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     1.5 +CXX2 = g++-2.95
     1.6 +CXX=$(CXX3)
     1.7 +CC=$(CXX)
     1.8 +INCLUDEDIRS ?= -I../include -I.. -I../work/{marci,jacint,alpar,klao,akos,athos} 
     1.9 +CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) 
    1.10 +LEDAROOT ?= /ledasrc/LEDA-4.1
    1.11 +
    1.12 +BINARIES = dijkstra_heap_test 
    1.13 +
    1.14 +all: $(BINARIES)
    1.15 +
    1.16 +.depend dep depend:
    1.17 +	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
    1.18 +
    1.19 +makefile: .depend
    1.20 +sinclude .depend
    1.21 +
    1.22 +clean:
    1.23 +	$(RM) *.o $(BINARIES) .depend
    1.24 +
    1.25 +.PHONY: all clean dep depend