makefile improvement in work/jacint
authormarci
Tue, 27 Apr 2004 11:58:14 +0000
changeset 441bb61e80e8aa1
parent 440 f92099d27236
child 442 267dfa567ad3
makefile improvement in work/jacint
src/work/jacint/makefile
     1.1 --- a/src/work/jacint/makefile	Tue Apr 27 11:32:22 2004 +0000
     1.2 +++ b/src/work/jacint/makefile	Tue Apr 27 11:58:14 2004 +0000
     1.3 @@ -1,22 +1,3 @@
     1.4 -CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     1.5 -CXX2 = g++-2.95
     1.6 -CXX=$(CXX3)
     1.7 -CC=$(CXX)
     1.8 -INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} 
     1.9 -CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS)
    1.10 -LEDAROOT ?= /ledasrc/LEDA-4.1
    1.11 -
    1.12  BINARIES = preflow_res_comp preflow_excess_test
    1.13 -
    1.14 -all: $(BINARIES)
    1.15 -
    1.16 -.depend dep depend:
    1.17 -	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
    1.18 -
    1.19 -makefile: .depend
    1.20 -sinclude .depend
    1.21 -
    1.22 -clean:
    1.23 -	$(RM) *.o $(BINARIES) .depend
    1.24 -
    1.25 -.PHONY: all clean dep depend
    1.26 +INCLUDEDIRS= -I../../include -I.. -I../{klao,marci,jacint,alpar,johanna,akos}
    1.27 +include ../makefile