src/work/jacint/makefile
author athos
Fri, 19 Mar 2004 14:47:36 +0000
changeset 207 9910d5a5be7f
parent 173 de9849252e78
child 211 9222a9b8b323
permissions -rw-r--r--
M?g ?rtam bele 2 dolgot, meg a tesztelot is kibovitettem.
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@111
     4
LEDAROOT = /ledasrc/LEDA-4.1
jacint@72
     5
marci@200
     6
BINARIES = preflow dijkstra prim
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@142
    14
	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -o preflow preflow.cc
jacint@111
    15
jacint@159
    16
dijkstra: 
jacint@159
    17
	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -o dijkstra dijkstra.cc
jacint@159
    18
jacint@170
    19
prim: 
jacint@170
    20
	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -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