src/work/marci/leda/makefile
changeset 420 a713f8a69cc3
parent 419 69e961722628
child 433 d9fac1497298
equal deleted inserted replaced
0:5fa34f5d4b53 1:a84dd9576cdc
     3 CXX3=$(CXX)
     3 CXX3=$(CXX)
     4 #CXX=$(CXX3)
     4 #CXX=$(CXX3)
     5 #CC=$(CXX)
     5 #CC=$(CXX)
     6 #LEDAROOT ?= /ledasrc/LEDA-4.1
     6 #LEDAROOT ?= /ledasrc/LEDA-4.1
     7 BOOSTROOT ?= /home/marci/boost
     7 BOOSTROOT ?= /home/marci/boost
     8 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$(LEDAROOT)/incl -I.
       
     9 LDFLAGS = -L$(LEDAROOT) -lG -lL -lm
     9 #LEDAINCLUDE ?= -I$(LEDAROOT)/incl
    10 #LEDAINCLUDE ?= -I$(LEDAROOT)/incl
    10 #CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic -ftemplate-depth-30
    11 #CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic -ftemplate-depth-30
    11 
    12 
    12 LEDABINARIES = leda_graph_demo leda_bfs_dfs max_bipartite_matching_demo
    13 BINARIES = bipartite_matching_leda
    13 BINARIES = edmonds_karp_demo iterator_bfs_demo macro_test lg_vs_sg bfsit_vs_byhand bipartite_graph_wrapper_test bipartite_matching_try
    14 #LEDABINARIES = leda_graph_demo leda_bfs_dfs max_bipartite_matching_demo
       
    15 #BINARIES = edmonds_karp_demo iterator_bfs_demo macro_test lg_vs_sg bfsit_vs_byhand bipartite_graph_wrapper_test bipartite_matching_try
    14 #gw_vs_not preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos edmonds_karp_demo_alpar preflow_demo_leda
    16 #gw_vs_not preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos edmonds_karp_demo_alpar preflow_demo_leda
    15 
    17 
    16 include ../makefile
    18 include ../../makefile
    17 #all: $(BINARIES)
    19 #all: $(BINARIES)
    18 
    20 
    19 #.depend dep depend:
    21 #.depend dep depend:
    20 #	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
    22 #	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
    21 #	-g++ $(INCLUDEDIRS) $(LEDAINCLUDE) -M $(LEDABINARIES:=.cc) >> .depend #2>/dev/null
    23 #	-g++ $(INCLUDEDIRS) $(LEDAINCLUDE) -M $(LEDABINARIES:=.cc) >> .depend #2>/dev/null
    29 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_graph_demo.cc
    31 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_graph_demo.cc
    30 
    32 
    31 leda_graph_demo: leda_graph_demo.o
    33 leda_graph_demo: leda_graph_demo.o
    32 	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_graph_demo leda_graph_demo.o -lG -lL -lm
    34 	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_graph_demo leda_graph_demo.o -lG -lL -lm
    33 
    35 
    34 bipartite_matching_leda.o:
    36 #bipartite_matching_leda.o:
    35 	$(CXX3) $(CXXFLAGS) -I$(LEDAROOT)/incl -c bipartite_matching_leda.cc
    37 #	$(CXX3) $(CXXFLAGS) -I$(LEDAROOT)/incl -c bipartite_matching_leda.cc
    36 
    38 #
    37 bipartite_matching_leda: bipartite_matching_leda.o
    39 #bipartite_matching_leda: bipartite_matching_leda.o
    38 	$(CXX3) $(CXXFLAGS) -L$(LEDAROOT) -o bipartite_matching_leda bipartite_matching_leda.o -lG -lL -lm
    40 #	$(CXX3) $(CXXFLAGS) -L$(LEDAROOT) -o bipartite_matching_leda bipartite_matching_leda.o -lG -lL -lm
    39 
    41 
    40 max_bipartite_matching_demo.o:
    42 max_bipartite_matching_demo.o:
    41 	$(CXX3) $(CXXFLAGS) -I$(LEDAROOT)/incl -c max_bipartite_matching_demo.cc
    43 	$(CXX3) $(CXXFLAGS) -I$(LEDAROOT)/incl -c max_bipartite_matching_demo.cc
    42 
    44 
    43 max_bipartite_matching_demo: max_bipartite_matching_demo.o
    45 max_bipartite_matching_demo: max_bipartite_matching_demo.o