src/work/jacint/makefile
author alpar
Sat, 20 Mar 2004 16:13:19 +0000
changeset 217 fc549fac0dd0
parent 200 f40bb16b0405
child 220 7deda4d6a07a
permissions -rw-r--r--
Several bugfixes
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
jacint@111
     3
CXXFLAGS = -W -Wall -ansi -pedantic
jacint@211
     4
LEDAROOT ?= /ledasrc/LEDA-4.1
jacint@72
     5
jacint@211
     6
BINARIES = dijkstra prim preflow
jacint@72
     7
jacint@111
     8
all: $(BINARIES)
jacint@111
     9
jacint@111
    10
makefile: .depend
jacint@111
    11
sinclude .depend
jacint@111
    12
jacint@111
    13
preflow: 
jacint@211
    14
	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../alpar -o preflow preflow.cc 
jacint@111
    15
jacint@159
    16
dijkstra: 
jacint@211
    17
	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../alpar  -o dijkstra dijkstra.cc
jacint@159
    18
jacint@170
    19
prim: 
jacint@211
    20
	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../alpar -o prim prim.cc
jacint@170
    21
jacint@111
    22
clean:
jacint@111
    23
	$(RM) *.o $(BINARIES) .depend
jacint@111
    24
jacint@111
    25
.PHONY: all clean dep depend