src/test/makefile
author marci
Thu, 29 Apr 2004 15:58:34 +0000
changeset 472 052af4060f3e
parent 435 8f1dece01cc4
child 483 ce29ae5b2e1b
permissions -rw-r--r--
preflow, maxflow
     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++)
     2 CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     3 CXX2 = g++-2.95
     4 CXX=$(CXX3)
     5 CC=$(CXX)
     6 INCLUDEDIRS ?= -I../include -I.. -I../work/{marci,jacint,alpar,klao,akos,athos} 
     7 CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) 
     8 LEDAROOT ?= /ledasrc/LEDA-4.1
     9 
    10 BINARIES = dijkstra_heap_test
    11 
    12 all: $(BINARIES)
    13 
    14 .depend dep depend:
    15 	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
    16 
    17 makefile: .depend
    18 sinclude .depend
    19 
    20 clean:
    21 	$(RM) *.o $(BINARIES) .depend
    22 
    23 .PHONY: all clean dep depend