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
     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
     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) -O3 -I. -I.. -I../marci -I../alpar -o preflow preflow.cc 
    15 
    16 dijkstra: 
    17 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../alpar  -o dijkstra dijkstra.cc
    18 
    19 prim: 
    20 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -I../alpar -o prim prim.cc
    21 
    22 clean:
    23 	$(RM) *.o $(BINARIES) .depend
    24 
    25 .PHONY: all clean dep depend