src/work/jacint/makefile
changeset 441 bb61e80e8aa1
parent 439 748791b4bd10
child 452 6636be9bc35e
equal deleted inserted replaced
15:2b8b6bd92206 16:07e2b9cda7b4
     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_res_comp preflow_excess_test
     1 BINARIES = preflow_res_comp preflow_excess_test
    10 
     2 INCLUDEDIRS= -I../../include -I.. -I../{klao,marci,jacint,alpar,johanna,akos}
    11 all: $(BINARIES)
     3 include ../makefile
    12 
       
    13 .depend dep depend:
       
    14 	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
       
    15 
       
    16 makefile: .depend
       
    17 sinclude .depend
       
    18 
       
    19 clean:
       
    20 	$(RM) *.o $(BINARIES) .depend
       
    21 
       
    22 .PHONY: all clean dep depend