src/work/jacint/makefile
changeset 396 639c9daed784
parent 372 e6a156fc186d
child 439 748791b4bd10
equal deleted inserted replaced
13:2c28c38b203b 14:682fd5298582
     4 CC=$(CXX)
     4 CC=$(CXX)
     5 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} 
     5 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} 
     6 CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS)
     6 CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS)
     7 LEDAROOT ?= /ledasrc/LEDA-4.1
     7 LEDAROOT ?= /ledasrc/LEDA-4.1
     8 
     8 
     9 BINARIES = preflow #dijkstra_bin_fib_test #preflow # prim
     9 BINARIES = preflow_res_comp
    10 
    10 
    11 all: $(BINARIES)
    11 all: $(BINARIES)
    12 
    12 
    13 .depend dep depend:
    13 .depend dep depend:
    14 	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
    14 	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
    15 
    15 
    16 makefile: .depend
    16 makefile: .depend
    17 sinclude .depend
    17 sinclude .depend
    18 
    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:
    19 clean:
    29 	$(RM) *.o $(BINARIES) .depend
    20 	$(RM) *.o $(BINARIES) .depend
    30 
    21 
    31 .PHONY: all clean dep depend
    22 .PHONY: all clean dep depend