src/work/marci/makefile
author marci
Fri, 12 Mar 2004 09:19:54 +0000
changeset 174 44700ed9ffaa
parent 168 27fbd1559fb7
child 175 ebccffe4d47b
permissions -rw-r--r--
towards on ListGraph, SmartGraph compatibility
     1 CXX3 = g++-3.0
     2 CXX2 = g++-2.95
     3 CXX3.3 = g++
     4 CXXFLAGS = -W -Wall -ansi -pedantic -I. -I.. -I../alpar
     5 LEDAROOT ?= /ledasrc/LEDA-4.1
     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 lg_vs_sg
     8 
     9 all: $(BINARIES)
    10 
    11 .depend dep depend:
    12 	-g++-2.95 -I. -I.. -I$(LEDAROOT)/incl -I/home/marci/boost -M *.cc > .depend 2>/dev/null
    13 
    14 
    15 makefile: .depend
    16 sinclude .depend
    17 
    18 edmonds_karp_demo: 
    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.cc
    21 
    22 lg_vs_sg:
    23 	$(CXX3) $(CXXFLAGS) -g -O3 -I. -I.. -o lg_vs_sg lg_vs_sg.cc
    24 
    25 edmonds_karp_demo_alpar: 
    26 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../alpar -o edmonds_karp_demo_alpar edmonds_karp_demo_alpar.cc
    27 
    28 preflow_demo_leda:
    29 	$(CXX2) -W -Wall -O3 -DLEDA_PREFIX -I. -I$(LEDAROOT)/incl -L$(LEDAROOT) -o preflow_demo_leda preflow_demo_leda.cc -lP -lm -lL -lG
    30 
    31 preflow_demo_leda_uj:
    32 	$(CXX3.3) -Wall -O3 -I$(LEDAROOT)/incl -I. -L$(LEDAROOT) -o preflow_demo_leda_uj preflow_demo_leda_uj.cc -lG -lL -lm
    33 
    34 preflow_demo_boost:
    35 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc
    36 
    37 edmonds_karp_demo_boost:
    38 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc
    39 
    40 preflow_demo_jacint: 
    41 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_demo_jacint preflow_demo_jacint.cc
    42 
    43 preflow_demo_athos: 
    44 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../athos -o preflow_demo_athos preflow_demo_athos.cc
    45 
    46 clean:
    47 	$(RM) *.o $(BINARIES) .depend
    48 
    49 .PHONY: all clean dep depend