src/work/jacint/makefile
changeset 160 f1a7005e9dff
parent 142 01d47457aff3
child 166 abcbdcf36ab2
equal deleted inserted replaced
4:0114498bc3c3 5:c94c0ad3305b
     1 CXX3 = g++-3.0
     1 CXX3 = g++-3.0
     2 CXX2 = g++-2.95
     2 CXX2 = g++-2.95
     3 CXXFLAGS = -W -Wall -ansi -pedantic
     3 CXXFLAGS = -W -Wall -ansi -pedantic
     4 LEDAROOT = /ledasrc/LEDA-4.1
     4 LEDAROOT = /ledasrc/LEDA-4.1
     5 
     5 
     6 BINARIES = preflow
     6 BINARIES = preflow dijkstra
     7 
     7 
     8 all: $(BINARIES)
     8 all: $(BINARIES)
     9 
     9 
    10 makefile: .depend
    10 makefile: .depend
    11 sinclude .depend
    11 sinclude .depend
    12 
    12 
    13 preflow: 
    13 preflow: 
    14 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -o preflow preflow.cc
    14 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -o preflow preflow.cc
    15 
    15 
       
    16 dijkstra: 
       
    17 	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../marci -o dijkstra dijkstra.cc
       
    18 
    16 clean:
    19 clean:
    17 	$(RM) *.o $(BINARIES) .depend
    20 	$(RM) *.o $(BINARIES) .depend
    18 
    21 
    19 .PHONY: all clean dep depend
    22 .PHONY: all clean dep depend