src/work/jacint/makefile
changeset 487 11ad69691d18
parent 453 f6731902c702
child 494 e42f56e7ad93
equal deleted inserted replaced
18:34ccfc4a8d8b 19:79f7926407dc
     1 CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     1 BINARIES = preflow preflow_res_comp preflow_excess_test
     2 CXX2 = g++-2.95
     2 INCLUDEDIRS= -I../../include -I.. -I../{klao,marci,jacint,alpar,johanna,akos}
     3 CXX=$(CXX3)
     3 include ../makefile
     4 CC=$(CXX)
       
     5 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos,johanna} 
       
     6 CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS)
       
     7 LEDAROOT ?= /ledasrc/LEDA-4.1
       
     8 
       
     9 BINARIES = preflow
       
    10 
       
    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