src/work/marci/makefile
changeset 73 1b4a25e49222
child 76 d9650659a6ee
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/work/marci/makefile	Fri Feb 13 15:57:22 2004 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +CXX3 = g++-3.0
     1.5 +CXX2 = g++-2.95
     1.6 +CXXFLAGS = -W -Wall -ansi -pedantic
     1.7 +LEDAROOT = /ledasrc/LEDA-4.1
     1.8 +
     1.9 +BINARIES = edmonds_karp_demo preflow_demo_leda preflow_demo_boost edmonds_karp_demo_boost
    1.10 +
    1.11 +all: $(BINARIES)
    1.12 +
    1.13 +.depend dep depend:
    1.14 +	-g++-2.95 -I. -I.. -I$(LEDAROOT)/incl -I/home/marci/boost -M *.cc > .depend 2>/dev/null
    1.15 +
    1.16 +
    1.17 +makefile: .depend
    1.18 +sinclude .depend
    1.19 +
    1.20 +edmonds_karp_demo: 
    1.21 +	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -o edmonds_karp_demo edmonds_karp_demo.cc
    1.22 +
    1.23 +preflow_demo_leda:
    1.24 +	$(CXX2) -W -Wall -O3 -DLEDA_PREFIX -I. -I$(LEDAROOT)/incl -L$(LEDAROOT) -o preflow_demo_leda preflow_demo_leda.cc -lP -lm -lL -lG
    1.25 +
    1.26 +preflow_demo_boost:
    1.27 +	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o preflow_demo_boost preflow_demo_boost.cc
    1.28 +
    1.29 +edmonds_karp_demo_boost:
    1.30 +	$(CXX2) -ftemplate-depth-30 -O3 -I. -I/home/marci/boost -o edmonds_karp_demo_boost edmonds_karp_demo_boost.cc
    1.31 +
    1.32 +clean:
    1.33 +	$(RM) *.o $(BINARIES) .depend
    1.34 +
    1.35 +.PHONY: all clean dep depend