COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/jacint/makefile @ 372:e6a156fc186d

Last change on this file since 372:e6a156fc186d was 372:e6a156fc186d, checked in by jacint, 17 years ago
File size: 740 bytes
Line 
1CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
2CXX2 = g++-2.95
3CXX=$(CXX3)
4CC=$(CXX)
5INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos}
6CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS)
7LEDAROOT ?= /ledasrc/LEDA-4.1
8
9BINARIES = preflow #dijkstra_bin_fib_test #preflow # prim
10
11all: $(BINARIES)
12
13.depend dep depend:
14        -$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
15
16makefile: .depend
17sinclude .depend
18
19#preflow:
20#       $(CXX3) $(CXXFLAGS)  -o preflow preflow.cc
21#
22#dijkstra:
23#       $(CXX3) $(CXXFLAGS)  -o dijkstra dijkstra.cc
24#
25#prim:
26#       $(CXX3) $(CXXFLAGS)  -o prim prim.cc
27
28clean:
29        $(RM) *.o $(BINARIES) .depend
30
31.PHONY: all clean dep depend
Note: See TracBrowser for help on using the repository browser.