Rev | Line | |
---|
[200] | 1 | CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) |
---|
[111] | 2 | CXX2 = g++-2.95 |
---|
[311] | 3 | CXX=$(CXX3) |
---|
| 4 | CC=$(CXX) |
---|
| 5 | INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} |
---|
[372] | 6 | CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS) |
---|
[211] | 7 | LEDAROOT ?= /ledasrc/LEDA-4.1 |
---|
[72] | 8 | |
---|
[388] | 9 | BINARIES = preflow_res_comp |
---|
[72] | 10 | |
---|
[111] | 11 | all: $(BINARIES) |
---|
| 12 | |
---|
[311] | 13 | .depend dep depend: |
---|
| 14 | -$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null |
---|
| 15 | |
---|
[111] | 16 | makefile: .depend |
---|
| 17 | sinclude .depend |
---|
| 18 | |
---|
| 19 | clean: |
---|
| 20 | $(RM) *.o $(BINARIES) .depend |
---|
| 21 | |
---|
| 22 | .PHONY: all clean dep depend |
---|
Note: See
TracBrowser
for help on using the repository browser.