src/test/makefile
author klao
Tue, 27 Apr 2004 13:53:27 +0000
changeset 445 6fe0d7d70674
parent 384 f27d21767d38
child 460 e4d291344277
permissions -rw-r--r--
Egy helyes (warning nelkuli) megvalositasa az operator<< -nek az stGraphWrapper
Node es Edge-enek. Csak a konverziok es templates fuggvenyek "alacsony
prioritasa" miatt hasznalhatatlan.

Magyarul az stGW::Node -ra jol mukodik, de a NodeIt-ra mar nem, pedig van hozza
konverzio. Csak akkor mar inkabb a ListGraph::Node-jara definialt nem
template-es fuggvenyt hasznalja.
marci@435
     1
#CXX3 := $(shell type -p g++-3.4 || 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
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
     3
CXX2 = g++-2.95
jacint@384
     4
CXX=$(CXX3)
jacint@384
     5
CC=$(CXX)
jacint@384
     6
INCLUDEDIRS ?= -I../include -I.. -I../work/{marci,jacint,alpar,klao,akos,athos} 
jacint@384
     7
CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) 
jacint@384
     8
LEDAROOT ?= /ledasrc/LEDA-4.1
jacint@384
     9
jacint@384
    10
BINARIES = dijkstra_heap_test 
jacint@384
    11
jacint@384
    12
all: $(BINARIES)
jacint@384
    13
jacint@384
    14
.depend dep depend:
jacint@384
    15
	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
jacint@384
    16
jacint@384
    17
makefile: .depend
jacint@384
    18
sinclude .depend
jacint@384
    19
jacint@384
    20
clean:
jacint@384
    21
	$(RM) *.o $(BINARIES) .depend
jacint@384
    22
jacint@384
    23
.PHONY: all clean dep depend