src/work/marci/makefile
changeset 411 3c8801529a1f
parent 409 7ab7f083760a
child 420 a713f8a69cc3
     1.1 --- a/src/work/marci/makefile	Mon Apr 26 09:55:31 2004 +0000
     1.2 +++ b/src/work/marci/makefile	Mon Apr 26 10:35:36 2004 +0000
     1.3 @@ -1,12 +1,13 @@
     1.4  CXX2 = g++-2.95
     1.5  #CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     1.6 +CXX3=$(CXX)
     1.7  #CXX=$(CXX3)
     1.8  #CC=$(CXX)
     1.9  #LEDAROOT ?= /ledasrc/LEDA-4.1
    1.10  BOOSTROOT ?= /home/marci/boost
    1.11  INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} -I$(BOOSTROOT)
    1.12 -LEDAINCLUDE ?= -I$(LEDAROOT)/incl
    1.13 -CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic -ftemplate-depth-30
    1.14 +#LEDAINCLUDE ?= -I$(LEDAROOT)/incl
    1.15 +#CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic -ftemplate-depth-30
    1.16  
    1.17  LEDABINARIES = leda_graph_demo leda_bfs_dfs max_bipartite_matching_demo
    1.18  BINARIES = edmonds_karp_demo iterator_bfs_demo macro_test lg_vs_sg bfsit_vs_byhand bipartite_graph_wrapper_test bipartite_matching_try
    1.19 @@ -30,11 +31,17 @@
    1.20  leda_graph_demo: leda_graph_demo.o
    1.21  	$(CXX3) -Wall -O -L$(LEDAROOT) -o leda_graph_demo leda_graph_demo.o -lG -lL -lm
    1.22  
    1.23 +bipartite_matching_leda.o:
    1.24 +	$(CXX3) $(CXXFLAGS) -I$(LEDAROOT)/incl -c bipartite_matching_leda.cc
    1.25 +
    1.26 +bipartite_matching_leda: bipartite_matching_leda.o
    1.27 +	$(CXX3) $(CXXFLAGS) -L$(LEDAROOT) -o bipartite_matching_leda bipartite_matching_leda.o -lG -lL -lm
    1.28 +
    1.29  max_bipartite_matching_demo.o:
    1.30 -	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c max_bipartite_matching_demo.cc
    1.31 +	$(CXX3) $(CXXFLAGS) -I$(LEDAROOT)/incl -c max_bipartite_matching_demo.cc
    1.32  
    1.33  max_bipartite_matching_demo: max_bipartite_matching_demo.o
    1.34 -	$(CXX3) -Wall -O -L$(LEDAROOT) -o max_bipartite_matching_demo max_bipartite_matching_demo.o -lG -lL -lm
    1.35 +	$(CXX3) $(CXXFLAGS) -L$(LEDAROOT) -o max_bipartite_matching_demo max_bipartite_matching_demo.o -lG -lL -lm
    1.36  
    1.37  leda_bfs_dfs.o:
    1.38  	$(CXX3) -Wall -O -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_bfs_dfs.cc