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.
marci@73
     1
CXX2 = g++-2.95
marci@411
     2
CXX3=$(CXX)
marci@180
     3
BOOSTROOT ?= /home/marci/boost
marci@616
     4
INCLUDEDIRS ?= -I. -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@617
     7
BINARIES = bipartite_matching_leda bipartite_matching_leda_gen comparison
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