src/work/marci/leda/makefile
author marci
Tue, 11 May 2004 14:58:09 +0000
changeset 606 81a0c2f2f7c6
parent 433 d9fac1497298
child 616 31879aac4dc3
permissions -rw-r--r--
docs
marci@73
     1
CXX2 = g++-2.95
marci@411
     2
CXX3=$(CXX)
marci@180
     3
BOOSTROOT ?= /home/marci/boost
marci@420
     4
INCLUDEDIRS ?= -I../../../include -I../.. -I../../{marci,jacint,alpar,klao,akos,athos} -I$(LEDAROOT)/incl -I.
marci@420
     5
LDFLAGS = -L$(LEDAROOT) -lG -lL -lm
marci@73
     6
marci@446
     7
BINARIES = bipartite_matching_leda bipartite_matching_leda_gen
marci@73
     8
marci@420
     9
include ../../makefile
marci@73
    10
marci@180
    11
leda_graph_demo.o:
marci@188
    12
	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_graph_demo.cc
marci@180
    13
marci@180
    14
leda_graph_demo: leda_graph_demo.o
marci@188
    15
	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_graph_demo leda_graph_demo.o -lG -lL -lm
marci@180
    16
marci@194
    17
max_bipartite_matching_demo.o:
marci@411
    18
	$(CXX3) $(CXXFLAGS) -I$(LEDAROOT)/incl -c max_bipartite_matching_demo.cc
marci@194
    19
marci@194
    20
max_bipartite_matching_demo: max_bipartite_matching_demo.o
marci@411
    21
	$(CXX3) $(CXXFLAGS) -L$(LEDAROOT) -o max_bipartite_matching_demo max_bipartite_matching_demo.o -lG -lL -lm
marci@194
    22
marci@189
    23
leda_bfs_dfs.o:
marci@189
    24
	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_bfs_dfs.cc
marci@189
    25
marci@189
    26
leda_bfs_dfs: leda_bfs_dfs.o
marci@189
    27
	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_bfs_dfs leda_bfs_dfs.o -lG -lL -lm
marci@189
    28
marci@271
    29
gw_vs_not: 
marci@271
    30
	$(CXX3) $(CXXFLAGS) -o gw_vs_not gw_vs_not.cc
marci@271
    31
marci@96
    32
edmonds_karp_demo_alpar: 
marci@188
    33
	$(CXX3) $(CXXFLAGS) -I. -I.. -I../alpar -o edmonds_karp_demo_alpar edmonds_karp_demo_alpar.cc
marci@96
    34
marci@73
    35
preflow_demo_leda:
marci@188
    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
marci@73
    37
klao@125
    38
preflow_demo_leda_uj:
marci@180
    39
	$(CXX3) -Wall -O3 -I$(LEDAROOT)/incl -I. -L$(LEDAROOT) -o preflow_demo_leda_uj preflow_demo_leda_uj.cc -lG -lL -lm
klao@125
    40
marci@73
    41
preflow_demo_boost:
marci@73
    42
	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc
marci@73
    43
marci@73
    44
edmonds_karp_demo_boost:
marci@73
    45
	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc
marci@73
    46
marci@82
    47
preflow_demo_jacint: 
marci@188
    48
	$(CXX3) $(CXXFLAGS) -I. -I.. -I../jacint -o preflow_demo_jacint preflow_demo_jacint.cc
marci@82
    49
marci@82
    50
preflow_demo_athos: 
marci@188
    51
	$(CXX3) $(CXXFLAGS) -I. -I.. -I../athos -o preflow_demo_athos preflow_demo_athos.cc
marci@82
    52