Last change
on this file since 490:ceb56ff9d07f was
331:f5461f8bc59b,
checked in by athos, 20 years ago
|
Elkezdtem atirni a preflow_push-t. Csinaltam egy backupot graph wrapper nelkul (without gw, azaz wogw)
|
File size:
924 bytes
|
Rev | Line | |
---|
[313] | 1 | CXX2 = g++-2.95 |
---|
| 2 | CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) |
---|
| 3 | CXX=$(CXX3) |
---|
| 4 | CC=$(CXX) |
---|
| 5 | #LEDAROOT ?= /ledasrc/LEDA-4.1 |
---|
| 6 | #BOOSTROOT ?= /home/marci/boost |
---|
[314] | 7 | INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,athos,akos,klao} #-I$(BOOSTROOT) |
---|
[313] | 8 | #LEDAINCLUDE ?= -I$(LEDAROOT)/incl |
---|
[331] | 9 | CXXFLAGS = -g -O -W -Wall $(INCLUDEDIRS) -ansi -pedantic |
---|
[36] | 10 | |
---|
[313] | 11 | #LEDABINARIES = lg_vs_sg leda_graph_demo leda_bfs_dfs max_bipartite_matching_demo |
---|
| 12 | BINARIES = suurballe |
---|
| 13 | #gw_vs_not preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos edmonds_karp_demo_alpar preflow_demo_leda |
---|
[36] | 14 | |
---|
[313] | 15 | all: $(BINARIES) |
---|
[36] | 16 | |
---|
[313] | 17 | .depend dep depend: |
---|
| 18 | -$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null |
---|
| 19 | # -g++ $(INCLUDEDIRS) $(LEDAINCLUDE) -M $(LEDABINARIES:=.cc) >> .depend #2>/dev/null |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | makefile: .depend |
---|
| 24 | sinclude .depend |
---|
| 25 | |
---|
| 26 | clean: |
---|
| 27 | $(RM) *.o $(BINARIES) .depend |
---|
| 28 | |
---|
| 29 | .PHONY: all clean dep depend |
---|
Note: See
TracBrowser
for help on using the repository browser.