src/work/jacint/makefile
changeset 111 3a5ebcd91d37
parent 72 e560867cbe79
child 112 0220e23a954c
equal deleted inserted replaced
0:fb098faf9119 1:ffd3d30bac23
     1 BINARIES = flow_test
     1 CXX3 = g++-3.0
       
     2 CXX2 = g++-2.95
       
     3 CXXFLAGS = -W -Wall -ansi -pedantic
       
     4 LEDAROOT = /ledasrc/LEDA-4.1
     2 
     5 
     3 include ../makefile
     6 BINARIES = preflow preflow_param preflow0 preflow1 preflow2 preflow3 preflow4 preflow_max_flow
     4 
     7 
     5 CXXFLAGS := $(CXXFLAGS) -I.. -I../../include
     8 all: $(BINARIES)
       
     9 
       
    10 makefile: .depend
       
    11 sinclude .depend
       
    12 
       
    13 preflow_max_flow: 
       
    14 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_max_flow preflow_max_flow.cc
       
    15 
       
    16 preflow: 
       
    17 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow preflow.cc
       
    18 
       
    19 preflow_hl0: 
       
    20 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl0 preflow_hl0.cc
       
    21 
       
    22 preflow_hl1: 
       
    23 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl1 preflow_hl1.cc
       
    24 
       
    25 preflow_hl2: 
       
    26 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl2 preflow_hl2.cc
       
    27 
       
    28 preflow_hl3: 
       
    29 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl3 preflow_hl3.cc
       
    30 
       
    31 preflow_hl4: 
       
    32 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl4 preflow_hl4.cc
       
    33 
       
    34 preflow_param: 
       
    35 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_param preflow_param.cc
       
    36 
       
    37 clean:
       
    38 	$(RM) *.o $(BINARIES) .depend
       
    39 
       
    40 .PHONY: all clean dep depend