src/work/alpar/dijkstra/makefile
author beckerjc
Fri, 26 Mar 2004 13:59:59 +0000
changeset 246 dc95ca4ebc7b
child 257 7f832b4e5391
permissions -rw-r--r--
koztes valtozat
alpar@222
     1
CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
alpar@222
     2
CXX2 = g++-2.95
alpar@222
     3
CXXFLAGS = -W -Wall -ansi -pedantic
alpar@222
     4
LEDAROOT ?= /ledasrc/LEDA-4.1
alpar@222
     5
alpar@222
     6
BINARIES = dijkstra prim preflow
alpar@222
     7
alpar@222
     8
all: $(BINARIES)
alpar@222
     9
alpar@222
    10
makefile: .depend
alpar@222
    11
sinclude .depend
alpar@222
    12
alpar@222
    13
dijkstra: 
alpar@222
    14
	$(CXX3) $(CXXFLAGS) -O3 -I. -I../../jacint -I../.. -I../../marci -I../../alpar  -o dijkstra dijkstra.cc
alpar@222
    15
alpar@222
    16
clean:
alpar@222
    17
	$(RM) *.o $(BINARIES) .depend
alpar@222
    18
alpar@222
    19
.PHONY: all clean dep depend