src/work/marci/makefile
changeset 174 44700ed9ffaa
parent 168 27fbd1559fb7
child 175 ebccffe4d47b
equal deleted inserted replaced
5:148fcfa0aca4 6:9c9a4778529a
     1 CXX3 = g++-3.0
     1 CXX3 = g++-3.0
     2 CXX2 = g++-2.95
     2 CXX2 = g++-2.95
     3 CXX3.3 = g++
     3 CXX3.3 = g++
     4 CXXFLAGS = -W -Wall -ansi -pedantic
     4 CXXFLAGS = -W -Wall -ansi -pedantic -I. -I.. -I../alpar
     5 LEDAROOT ?= /ledasrc/LEDA-4.1
     5 LEDAROOT ?= /ledasrc/LEDA-4.1
     6 
     6 
     7 BINARIES = edmonds_karp_demo edmonds_karp_demo_alpar preflow_demo_leda preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos 
     7 BINARIES = edmonds_karp_demo edmonds_karp_demo_alpar preflow_demo_leda preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos lg_vs_sg
     8 
     8 
     9 all: $(BINARIES)
     9 all: $(BINARIES)
    10 
    10 
    11 .depend dep depend:
    11 .depend dep depend:
    12 	-g++-2.95 -I. -I.. -I$(LEDAROOT)/incl -I/home/marci/boost -M *.cc > .depend 2>/dev/null
    12 	-g++-2.95 -I. -I.. -I$(LEDAROOT)/incl -I/home/marci/boost -M *.cc > .depend 2>/dev/null
    14 
    14 
    15 makefile: .depend
    15 makefile: .depend
    16 sinclude .depend
    16 sinclude .depend
    17 
    17 
    18 edmonds_karp_demo: 
    18 edmonds_karp_demo: 
    19 	$(CXX3) $(CXXFLAGS) -g -O3 -I. -I.. -o edmonds_karp_demo edmonds_karp_demo.cc
    19 	$(CXX3) $(CXXFLAGS) -g -I. -I.. -o edmonds_karp_demo edmonds_karp_demo.cc
    20 	$(CXX3) $(CXXFLAGS) -g -pg -O3 -I. -I.. -o edmonds_karp_demo_prof edmonds_karp_demo_prof.cc
    20 	$(CXX3) $(CXXFLAGS) -g -pg -O3 -I. -I.. -o edmonds_karp_demo_prof edmonds_karp_demo.cc
       
    21 
       
    22 lg_vs_sg:
       
    23 	$(CXX3) $(CXXFLAGS) -g -O3 -I. -I.. -o lg_vs_sg lg_vs_sg.cc
    21 
    24 
    22 edmonds_karp_demo_alpar: 
    25 edmonds_karp_demo_alpar: 
    23 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../alpar -o edmonds_karp_demo_alpar edmonds_karp_demo_alpar.cc
    26 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../alpar -o edmonds_karp_demo_alpar edmonds_karp_demo_alpar.cc
    24 
    27 
    25 preflow_demo_leda:
    28 preflow_demo_leda: