src/work/marci/makefile
changeset 194 a1680b3c516c
parent 189 04becc472709
child 196 8a9b9360463e
equal deleted inserted replaced
11:cf1068857183 12:91050431e8d9
     7 BOOSTROOT ?= /home/marci/boost
     7 BOOSTROOT ?= /home/marci/boost
     8 INCLUDEDIRS ?= -I../../include -I.. -I. -I../{marci,jacint,alpar,klao,akos,athos} -I$(LEDAROOT)/incl -I$(BOOSTROOT)
     8 INCLUDEDIRS ?= -I../../include -I.. -I. -I../{marci,jacint,alpar,klao,akos,athos} -I$(LEDAROOT)/incl -I$(BOOSTROOT)
     9 CXXFLAGS = -g -O -W -Wall $(INCLUDEDIRS) -ansi -pedantic
     9 CXXFLAGS = -g -O -W -Wall $(INCLUDEDIRS) -ansi -pedantic
    10 
    10 
    11 
    11 
    12 BINARIES = edmonds_karp_demo preflow_demo_leda lg_vs_sg leda_graph_demo leda_bfs_dfs
    12 BINARIES = edmonds_karp_demo preflow_demo_leda lg_vs_sg leda_graph_demo leda_bfs_dfs max_bipartite_matching_demo
    13 #preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos edmonds_karp_demo_alpar
    13 #preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos edmonds_karp_demo_alpar
    14 
    14 
    15 all: $(BINARIES)
    15 all: $(BINARIES)
    16 
    16 
    17 .depend dep depend:
    17 .depend dep depend:
    25 leda_graph_demo.o:
    25 leda_graph_demo.o:
    26 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_graph_demo.cc
    26 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_graph_demo.cc
    27 
    27 
    28 leda_graph_demo: leda_graph_demo.o
    28 leda_graph_demo: leda_graph_demo.o
    29 	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_graph_demo leda_graph_demo.o -lG -lL -lm
    29 	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_graph_demo leda_graph_demo.o -lG -lL -lm
       
    30 
       
    31 max_bipartite_matching_demo.o:
       
    32 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c max_bipartite_matching_demo.cc
       
    33 
       
    34 max_bipartite_matching_demo: max_bipartite_matching_demo.o
       
    35 	$(CXX3) -Wall -O -L$(LEDAROOT) -o max_bipartite_matching_demo max_bipartite_matching_demo.o -lG -lL -lm
    30 
    36 
    31 leda_bfs_dfs.o:
    37 leda_bfs_dfs.o:
    32 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_bfs_dfs.cc
    38 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_bfs_dfs.cc
    33 
    39 
    34 leda_bfs_dfs: leda_bfs_dfs.o
    40 leda_bfs_dfs: leda_bfs_dfs.o