src/work/marci/makefile
changeset 85 15362fafaf1a
parent 76 d9650659a6ee
child 96 e2e18eb0fd10
equal deleted inserted replaced
1:fd603f7a1479 2:5b9c17ceb71b
     1 CXX3 = g++-3.0
     1 CXX3 = g++-3.0
     2 CXX2 = g++-2.95
     2 CXX2 = g++-2.95
     3 CXXFLAGS = -W -Wall -ansi -pedantic
     3 CXXFLAGS = -W -Wall -ansi -pedantic
     4 LEDAROOT = /ledasrc/LEDA-4.1
     4 LEDAROOT = /ledasrc/LEDA-4.1
     5 
     5 
     6 BINARIES = edmonds_karp_demo preflow_demo_leda preflow_demo_boost edmonds_karp_demo_boost
     6 BINARIES = edmonds_karp_demo preflow_demo_leda preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos 
     7 
     7 
     8 all: $(BINARIES)
     8 all: $(BINARIES)
     9 
     9 
    10 .depend dep depend:
    10 .depend dep depend:
    11 	-g++-2.95 -I. -I.. -I$(LEDAROOT)/incl -I/home/marci/boost -M *.cc > .depend 2>/dev/null
    11 	-g++-2.95 -I. -I.. -I$(LEDAROOT)/incl -I/home/marci/boost -M *.cc > .depend 2>/dev/null
    25 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc
    25 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc
    26 
    26 
    27 edmonds_karp_demo_boost:
    27 edmonds_karp_demo_boost:
    28 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc
    28 	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc
    29 
    29 
       
    30 preflow_demo_jacint: 
       
    31 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_demo_jacint preflow_demo_jacint.cc
       
    32 
       
    33 preflow_demo_athos: 
       
    34 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../athos -o preflow_demo_athos preflow_demo_athos.cc
       
    35 
    30 clean:
    36 clean:
    31 	$(RM) *.o $(BINARIES) .depend
    37 	$(RM) *.o $(BINARIES) .depend
    32 
    38 
    33 .PHONY: all clean dep depend
    39 .PHONY: all clean dep depend