src/work/marci/makefile
changeset 190 6f8e34f638c0
parent 188 ad1417e74042
child 194 a1680b3c516c
equal deleted inserted replaced
10:35bb4140f048 11:cf1068857183
     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
    12 BINARIES = edmonds_karp_demo preflow_demo_leda lg_vs_sg leda_graph_demo leda_bfs_dfs
    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 leda_bfs_dfs.o:
       
    32 	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_bfs_dfs.cc
       
    33 
       
    34 leda_bfs_dfs: leda_bfs_dfs.o
       
    35 	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_bfs_dfs leda_bfs_dfs.o -lG -lL -lm
    30 
    36 
    31 edmonds_karp_demo: 
    37 edmonds_karp_demo: 
    32 	$(CXX3) $(CXXFLAGS) -g -I. -I.. -o edmonds_karp_demo edmonds_karp_demo.cc
    38 	$(CXX3) $(CXXFLAGS) -g -I. -I.. -o edmonds_karp_demo edmonds_karp_demo.cc
    33 	$(CXX3) $(CXXFLAGS) -g -pg -I. -I.. -o edmonds_karp_demo_prof edmonds_karp_demo.cc
    39 	$(CXX3) $(CXXFLAGS) -g -pg -I. -I.. -o edmonds_karp_demo_prof edmonds_karp_demo.cc
    34 
    40