src/work/athos/makefile
author marci
Thu, 29 Apr 2004 16:26:01 +0000
changeset 478 8c74de352f80
parent 322 a42dacfd0e3e
child 511 325c9430723e
permissions -rw-r--r--
preflow.f -> max_flow.h
marci@313
     1
CXX2 = g++-2.95
marci@313
     2
CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
marci@313
     3
CXX=$(CXX3)
marci@313
     4
CC=$(CXX)
marci@313
     5
#LEDAROOT ?= /ledasrc/LEDA-4.1
marci@313
     6
#BOOSTROOT ?= /home/marci/boost
athos@314
     7
INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,athos,akos,klao} #-I$(BOOSTROOT)
marci@313
     8
#LEDAINCLUDE ?= -I$(LEDAROOT)/incl
athos@331
     9
CXXFLAGS = -g -O -W -Wall $(INCLUDEDIRS) -ansi -pedantic
athos@36
    10
marci@313
    11
#LEDABINARIES = lg_vs_sg leda_graph_demo leda_bfs_dfs max_bipartite_matching_demo
marci@313
    12
BINARIES = suurballe
marci@313
    13
#gw_vs_not preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos edmonds_karp_demo_alpar preflow_demo_leda
athos@36
    14
marci@313
    15
all: $(BINARIES)
athos@36
    16
marci@313
    17
.depend dep depend:
marci@313
    18
	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
marci@313
    19
#	-g++ $(INCLUDEDIRS) $(LEDAINCLUDE) -M $(LEDABINARIES:=.cc) >> .depend #2>/dev/null
marci@313
    20
marci@313
    21
marci@313
    22
marci@313
    23
makefile: .depend
marci@313
    24
sinclude .depend
marci@313
    25
marci@313
    26
clean:
marci@313
    27
	$(RM) *.o $(BINARIES) .depend
marci@313
    28
marci@313
    29
.PHONY: all clean dep depend