src/work/jacint/makefile
author marci
Wed, 31 Mar 2004 16:39:42 +0000
changeset 271 951cd01495e7
parent 211 9222a9b8b323
child 311 6635b11938fe
permissions -rw-r--r--
makefile, you see...
     1 CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     2 CXX2 = g++-2.95
     3 CXXFLAGS = -W -Wall -ansi -pedantic -O3 -I. -I.. -I../marci -I../alpar -I../../include  
     4 LEDAROOT ?= /ledasrc/LEDA-4.1
     5 
     6 BINARIES = dijkstra prim preflow
     7 
     8 all: $(BINARIES)
     9 
    10 makefile: .depend
    11 sinclude .depend
    12 
    13 preflow: 
    14 	$(CXX3) $(CXXFLAGS)  -o preflow preflow.cc 
    15 
    16 dijkstra: 
    17 	$(CXX3) $(CXXFLAGS)  -o dijkstra dijkstra.cc
    18 
    19 prim: 
    20 	$(CXX3) $(CXXFLAGS)  -o prim prim.cc
    21 
    22 clean:
    23 	$(RM) *.o $(BINARIES) .depend
    24 
    25 .PHONY: all clean dep depend