equal
deleted
inserted
replaced
4 CC=$(CXX) |
4 CC=$(CXX) |
5 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} |
5 INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} |
6 CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) |
6 CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) |
7 LEDAROOT ?= /ledasrc/LEDA-4.1 |
7 LEDAROOT ?= /ledasrc/LEDA-4.1 |
8 |
8 |
9 BINARIES = preflow #dijkstra_bin_fib_test #preflow # prim |
9 BINARIES = preflow_res_comp |
10 |
10 |
11 all: $(BINARIES) |
11 all: $(BINARIES) |
12 |
12 |
13 .depend dep depend: |
13 .depend dep depend: |
14 -$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null |
14 -$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null |
15 |
15 |
16 makefile: .depend |
16 makefile: .depend |
17 sinclude .depend |
17 sinclude .depend |
18 |
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 |
|
28 clean: |
19 clean: |
29 $(RM) *.o $(BINARIES) .depend |
20 $(RM) *.o $(BINARIES) .depend |
30 |
21 |
31 .PHONY: all clean dep depend |
22 .PHONY: all clean dep depend |