src/work/marci/makefile
changeset 417 4ce3d5f675ea
parent 409 7ab7f083760a
child 420 a713f8a69cc3
equal deleted inserted replaced
26:2f53cd288b3d 27:8d5c9a0298fd
     1 CXX2 = g++-2.95
     1 CXX2 = g++-2.95
     2 #CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     2 #CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
       
     3 CXX3=$(CXX)
     3 #CXX=$(CXX3)
     4 #CXX=$(CXX3)
     4 #CC=$(CXX)
     5 #CC=$(CXX)
     5 #LEDAROOT ?= /ledasrc/LEDA-4.1
     6 #LEDAROOT ?= /ledasrc/LEDA-4.1
     6 BOOSTROOT ?= /home/marci/boost
     7 BOOSTROOT ?= /home/marci/boost
     7 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} -I$(BOOSTROOT)
     8 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} -I$(BOOSTROOT)
     8 LEDAINCLUDE ?= -I$(LEDAROOT)/incl
     9 #LEDAINCLUDE ?= -I$(LEDAROOT)/incl
     9 CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic -ftemplate-depth-30
    10 #CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic -ftemplate-depth-30
    10 
    11 
    11 LEDABINARIES = leda_graph_demo leda_bfs_dfs max_bipartite_matching_demo
    12 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 bipartite_matching_try
    13 BINARIES = edmonds_karp_demo iterator_bfs_demo macro_test lg_vs_sg bfsit_vs_byhand bipartite_graph_wrapper_test bipartite_matching_try
    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 #gw_vs_not preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos edmonds_karp_demo_alpar preflow_demo_leda
    14 
    15 
    28 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_graph_demo.cc
    29 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_graph_demo.cc
    29 
    30 
    30 leda_graph_demo: leda_graph_demo.o
    31 leda_graph_demo: leda_graph_demo.o
    31 	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_graph_demo leda_graph_demo.o -lG -lL -lm
    32 	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_graph_demo leda_graph_demo.o -lG -lL -lm
    32 
    33 
       
    34 bipartite_matching_leda.o:
       
    35 	$(CXX3) $(CXXFLAGS) -I$(LEDAROOT)/incl -c bipartite_matching_leda.cc
       
    36 
       
    37 bipartite_matching_leda: bipartite_matching_leda.o
       
    38 	$(CXX3) $(CXXFLAGS) -L$(LEDAROOT) -o bipartite_matching_leda bipartite_matching_leda.o -lG -lL -lm
       
    39 
    33 max_bipartite_matching_demo.o:
    40 max_bipartite_matching_demo.o:
    34 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c max_bipartite_matching_demo.cc
    41 	$(CXX3) $(CXXFLAGS) -I$(LEDAROOT)/incl -c max_bipartite_matching_demo.cc
    35 
    42 
    36 max_bipartite_matching_demo: max_bipartite_matching_demo.o
    43 max_bipartite_matching_demo: max_bipartite_matching_demo.o
    37 	$(CXX3) -Wall -O -L$(LEDAROOT) -o max_bipartite_matching_demo max_bipartite_matching_demo.o -lG -lL -lm
    44 	$(CXX3) $(CXXFLAGS) -L$(LEDAROOT) -o max_bipartite_matching_demo max_bipartite_matching_demo.o -lG -lL -lm
    38 
    45 
    39 leda_bfs_dfs.o:
    46 leda_bfs_dfs.o:
    40 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_bfs_dfs.cc
    47 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_bfs_dfs.cc
    41 
    48 
    42 leda_bfs_dfs: leda_bfs_dfs.o
    49 leda_bfs_dfs: leda_bfs_dfs.o