src/work/jacint/makefile
changeset 140 ca164520d31a
parent 112 0220e23a954c
child 142 01d47457aff3
equal deleted inserted replaced
2:a4e1e1177f1e 3:540886ba1f77
     1 CXX3 = g++-3.0
     1 CXX3 = g++-3.0
     2 CXX2 = g++-2.95
     2 CXX2 = g++-2.95
     3 CXXFLAGS = -W -Wall -ansi -pedantic
     3 CXXFLAGS = -W -Wall -ansi -pedantic
     4 LEDAROOT = /ledasrc/LEDA-4.1
     4 LEDAROOT = /ledasrc/LEDA-4.1
     5 
     5 
     6 BINARIES = preflow preflow_param preflow_hl0 preflow_hl1 preflow_hl2 preflow_hl3 preflow_hl4 preflow_max_flow
     6 BINARIES = preflow_jgraph
     7 
     7 
     8 all: $(BINARIES)
     8 all: $(BINARIES)
     9 
     9 
    10 makefile: .depend
    10 makefile: .depend
    11 sinclude .depend
    11 sinclude .depend
    12 
    12 
       
    13 
       
    14 
       
    15 preflow_jgraph: 
       
    16 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_jgraph preflow_jgraph.cc
       
    17 
       
    18 preflowalpar: 
       
    19 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../alpar -I../jacint -o preflowalpar preflowalpar.cc
       
    20 
    13 preflow_max_flow: 
    21 preflow_max_flow: 
    14 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../jacint -o preflow_max_flow preflow_max_flow.cc
    22 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint  -o preflow_max_flow preflow_max_flow.cc
    15 
    23 
    16 preflow: 
    24 preflow: 
    17 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../jacint -o preflow preflow.cc
    25 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow preflow.cc
    18 
    26 
    19 preflow_hl0: 
    27 preflow_hl0: 
    20 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../jacint -o preflow_hl0 preflow_hl0.cc
    28 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl0 preflow_hl0.cc
    21 
    29 
    22 preflow_hl1: 
    30 preflow_hl1: 
    23 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../jacint -o preflow_hl1 preflow_hl1.cc
    31 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl1 preflow_hl1.cc
    24 
    32 
    25 preflow_hl2: 
    33 preflow_hl2: 
    26 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../jacint -o preflow_hl2 preflow_hl2.cc
    34 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl2 preflow_hl2.cc
    27 
    35 
    28 preflow_hl3: 
    36 preflow_hl3: 
    29 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../jacint -o preflow_hl3 preflow_hl3.cc
    37 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl3 preflow_hl3.cc
    30 
    38 
    31 preflow_hl4: 
    39 preflow_hl4: 
    32 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../jacint -o preflow_hl4 preflow_hl4.cc
    40 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl4 preflow_hl4.cc
    33 
    41 
    34 preflow_param: 
    42 preflow_param: 
    35 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../jacint -o preflow_param preflow_param.cc
    43 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_param preflow_param.cc
    36 
    44 
    37 clean:
    45 clean:
    38 	$(RM) *.o $(BINARIES) .depend
    46 	$(RM) *.o $(BINARIES) .depend
    39 
    47 
    40 .PHONY: all clean dep depend
    48 .PHONY: all clean dep depend