src/work/jacint/makefile
author alpar
Mon, 26 Apr 2004 18:22:34 +0000
changeset 432 a51ba0e51a3a
parent 372 e6a156fc186d
child 439 748791b4bd10
permissions -rw-r--r--
xy.h went to src/include.
marci@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++)
jacint@111
     2
CXX2 = g++-2.95
marci@311
     3
CXX=$(CXX3)
marci@311
     4
CC=$(CXX)
marci@311
     5
INCLUDEDIRS ?= -I../../include -I.. -I../{marci,jacint,alpar,klao,akos,athos} 
jacint@372
     6
CXXFLAGS = -W -Wall -ansi -pedantic -O3 $(INCLUDEDIRS)
jacint@211
     7
LEDAROOT ?= /ledasrc/LEDA-4.1
jacint@72
     8
jacint@388
     9
BINARIES = preflow_res_comp
jacint@72
    10
jacint@111
    11
all: $(BINARIES)
jacint@111
    12
marci@311
    13
.depend dep depend:
marci@311
    14
	-$(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
marci@311
    15
jacint@111
    16
makefile: .depend
jacint@111
    17
sinclude .depend
jacint@111
    18
jacint@111
    19
clean:
jacint@111
    20
	$(RM) *.o $(BINARIES) .depend
jacint@111
    21
jacint@111
    22
.PHONY: all clean dep depend