src/work/marci/makefile
author jacint
Mon, 01 Mar 2004 14:43:07 +0000
changeset 140 ca164520d31a
parent 96 e2e18eb0fd10
child 168 27fbd1559fb7
permissions -rw-r--r--
*** empty log message ***
     1 CXX3 = g++-3.0
     2 CXX2 = g++-2.95
     3 CXX3.3 = g++
     4 CXXFLAGS = -W -Wall -ansi -pedantic
     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 
     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) -O3 -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 edmonds_karp_demo_alpar: 
    23 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../alpar -o edmonds_karp_demo_alpar edmonds_karp_demo_alpar.cc
    24 
    25 preflow_demo_leda:
    26 	$(CXX2) -W -Wall -O3 -DLEDA_PREFIX -I. -I$(LEDAROOT)/incl -L$(LEDAROOT) -o preflow_demo_leda preflow_demo_leda.cc -lP -lm -lL -lG
    27 
    28 preflow_demo_leda_uj:
    29 	$(CXX3.3) -Wall -O3 -I$(LEDAROOT)/incl -I. -L$(LEDAROOT) -o preflow_demo_leda_uj preflow_demo_leda_uj.cc -lG -lL -lm
    30 
    31 preflow_demo_boost:
    32 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc
    33 
    34 edmonds_karp_demo_boost:
    35 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc
    36 
    37 preflow_demo_jacint: 
    38 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_demo_jacint preflow_demo_jacint.cc
    39 
    40 preflow_demo_athos: 
    41 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../athos -o preflow_demo_athos preflow_demo_athos.cc
    42 
    43 clean:
    44 	$(RM) *.o $(BINARIES) .depend
    45 
    46 .PHONY: all clean dep depend