src/work/jacint/makefile
author marci
Thu, 15 Apr 2004 14:41:20 +0000
changeset 330 7ac0d4e8a31c
parent 220 7deda4d6a07a
child 372 e6a156fc186d
permissions -rw-r--r--
In the resgraphwrapper interface, and in the constructor,
the order of FlowMap and CapacityMap is changed.
     1 CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     2 CXX2 = g++-2.95
     3 CXX=$(CXX3)
     4 CC=$(CXX)
     5 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} 
     6 CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) 
     7 LEDAROOT ?= /ledasrc/LEDA-4.1
     8 
     9 BINARIES = preflow #dijkstra prim
    10 
    11 all: $(BINARIES)
    12 
    13 .depend dep depend:
    14 	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
    15 
    16 makefile: .depend
    17 sinclude .depend
    18 
    19 #preflow: 
    20 #	$(CXX3) $(CXXFLAGS)  -o preflow preflow.cc 
    21 #
    22 #dijkstra: 
    23 #	$(CXX3) $(CXXFLAGS)  -o dijkstra dijkstra.cc
    24 #
    25 #prim: 
    26 #	$(CXX3) $(CXXFLAGS)  -o prim prim.cc
    27 
    28 clean:
    29 	$(RM) *.o $(BINARIES) .depend
    30 
    31 .PHONY: all clean dep depend