src/work/marci/makefile
changeset 376 5c12f3515452
parent 368 0beed7a49063
child 380 6399494e30b1
equal deleted inserted replaced
22:55501514e4e0 23:2306923848eb
     4 CC=$(CXX)
     4 CC=$(CXX)
     5 #LEDAROOT ?= /ledasrc/LEDA-4.1
     5 #LEDAROOT ?= /ledasrc/LEDA-4.1
     6 BOOSTROOT ?= /home/marci/boost
     6 BOOSTROOT ?= /home/marci/boost
     7 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} -I$(BOOSTROOT)
     7 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} -I$(BOOSTROOT)
     8 LEDAINCLUDE ?= -I$(LEDAROOT)/incl
     8 LEDAINCLUDE ?= -I$(LEDAROOT)/incl
     9 CXXFLAGS = -g -O -W -Wall $(INCLUDEDIRS) -ansi -pedantic -ftemplate-depth-30
     9 CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic -ftemplate-depth-30
    10 
    10 
    11 LEDABINARIES = leda_graph_demo leda_bfs_dfs max_bipartite_matching_demo
    11 LEDABINARIES = leda_graph_demo leda_bfs_dfs max_bipartite_matching_demo
    12 BINARIES = edmonds_karp_demo iterator_bfs_demo macro_test lg_vs_sg bfsit_vs_byhand bipartite_graph_wrapper_test
    12 BINARIES = edmonds_karp_demo iterator_bfs_demo macro_test lg_vs_sg bfsit_vs_byhand bipartite_graph_wrapper_test
    13 #gw_vs_not preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos edmonds_karp_demo_alpar preflow_demo_leda
    13 #gw_vs_not preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos edmonds_karp_demo_alpar preflow_demo_leda
    14 
    14 
    39 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_bfs_dfs.cc
    39 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_bfs_dfs.cc
    40 
    40 
    41 leda_bfs_dfs: leda_bfs_dfs.o
    41 leda_bfs_dfs: leda_bfs_dfs.o
    42 	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_bfs_dfs leda_bfs_dfs.o -lG -lL -lm
    42 	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_bfs_dfs leda_bfs_dfs.o -lG -lL -lm
    43 
    43 
    44 edmonds_karp_demo: 
    44 #edmonds_karp_demo: 
    45 	$(CXX3) $(CXXFLAGS) -o edmonds_karp_demo edmonds_karp_demo.cc
    45 #	$(CXX3) $(CXXFLAGS) -o edmonds_karp_demo edmonds_karp_demo.cc
    46 #	$(CXX3) $(CXXFLAGS) -pg -o edmonds_karp_demo_prof edmonds_karp_demo.cc
    46 #	$(CXX3) $(CXXFLAGS) -pg -o edmonds_karp_demo_prof edmonds_karp_demo.cc
    47 
    47 
    48 gw_vs_not: 
    48 gw_vs_not: 
    49 	$(CXX3) $(CXXFLAGS) -o gw_vs_not gw_vs_not.cc
    49 	$(CXX3) $(CXXFLAGS) -o gw_vs_not gw_vs_not.cc
    50 
    50