src/work/marci/leda/makefile
author alpar
Wed, 21 Jul 2004 17:40:36 +0000
changeset 723 7ded6acc2dfe
parent 616 31879aac4dc3
child 771 ad7dff9ee2fd
permissions -rw-r--r--
Doesn't compile 5 times for the five execution.
     1 CXX2 = g++-2.95
     2 CXX3=$(CXX)
     3 BOOSTROOT ?= /home/marci/boost
     4 INCLUDEDIRS ?= -I. -I../.. -I../../{marci,jacint,alpar,klao,akos,athos} -I$(LEDAROOT)/incl -I../../..
     5 LDFLAGS = -L$(LEDAROOT) -lG -lL -lm
     6 
     7 BINARIES = bipartite_matching_leda bipartite_matching_leda_gen comparison
     8 
     9 include ../../makefile
    10 
    11 leda_graph_demo.o:
    12 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_graph_demo.cc
    13 
    14 leda_graph_demo: leda_graph_demo.o
    15 	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_graph_demo leda_graph_demo.o -lG -lL -lm
    16 
    17 max_bipartite_matching_demo.o:
    18 	$(CXX3) $(CXXFLAGS) -I$(LEDAROOT)/incl -c max_bipartite_matching_demo.cc
    19 
    20 max_bipartite_matching_demo: max_bipartite_matching_demo.o
    21 	$(CXX3) $(CXXFLAGS) -L$(LEDAROOT) -o max_bipartite_matching_demo max_bipartite_matching_demo.o -lG -lL -lm
    22 
    23 leda_bfs_dfs.o:
    24 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_bfs_dfs.cc
    25 
    26 leda_bfs_dfs: leda_bfs_dfs.o
    27 	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_bfs_dfs leda_bfs_dfs.o -lG -lL -lm
    28 
    29 gw_vs_not: 
    30 	$(CXX3) $(CXXFLAGS) -o gw_vs_not gw_vs_not.cc
    31 
    32 edmonds_karp_demo_alpar: 
    33 	$(CXX3) $(CXXFLAGS) -I. -I.. -I../alpar -o edmonds_karp_demo_alpar edmonds_karp_demo_alpar.cc
    34 
    35 preflow_demo_leda:
    36 	$(CXX2) -W -Wall -03 -DLEDA_PREFIX -I. -I$(LEDAROOT)/incl -L$(LEDAROOT) -o preflow_demo_leda preflow_demo_leda.cc -lP -lm -lL -lG
    37 
    38 preflow_demo_leda_uj:
    39 	$(CXX3) -Wall -O3 -I$(LEDAROOT)/incl -I. -L$(LEDAROOT) -o preflow_demo_leda_uj preflow_demo_leda_uj.cc -lG -lL -lm
    40 
    41 preflow_demo_boost:
    42 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc
    43 
    44 edmonds_karp_demo_boost:
    45 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc
    46 
    47 preflow_demo_jacint: 
    48 	$(CXX3) $(CXXFLAGS) -I. -I.. -I../jacint -o preflow_demo_jacint preflow_demo_jacint.cc
    49 
    50 preflow_demo_athos: 
    51 	$(CXX3) $(CXXFLAGS) -I. -I.. -I../athos -o preflow_demo_athos preflow_demo_athos.cc
    52