src/work/marci/makefile
changeset 73 1b4a25e49222
child 76 d9650659a6ee
equal deleted inserted replaced
-1:000000000000 0:e09abe77f6bd
       
     1 CXX3 = g++-3.0
       
     2 CXX2 = g++-2.95
       
     3 CXXFLAGS = -W -Wall -ansi -pedantic
       
     4 LEDAROOT = /ledasrc/LEDA-4.1
       
     5 
       
     6 BINARIES = edmonds_karp_demo preflow_demo_leda preflow_demo_boost edmonds_karp_demo_boost
       
     7 
       
     8 all: $(BINARIES)
       
     9 
       
    10 .depend dep depend:
       
    11 	-g++-2.95 -I. -I.. -I$(LEDAROOT)/incl -I/home/marci/boost -M *.cc > .depend 2>/dev/null
       
    12 
       
    13 
       
    14 makefile: .depend
       
    15 sinclude .depend
       
    16 
       
    17 edmonds_karp_demo: 
       
    18 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -o edmonds_karp_demo edmonds_karp_demo.cc
       
    19 
       
    20 preflow_demo_leda:
       
    21 	$(CXX2) -W -Wall -O3 -DLEDA_PREFIX -I. -I$(LEDAROOT)/incl -L$(LEDAROOT) -o preflow_demo_leda preflow_demo_leda.cc -lP -lm -lL -lG
       
    22 
       
    23 preflow_demo_boost:
       
    24 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc
       
    25 
       
    26 edmonds_karp_demo_boost:
       
    27 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc
       
    28 
       
    29 clean:
       
    30 	$(RM) *.o $(BINARIES) .depend
       
    31 
       
    32 .PHONY: all clean dep depend