src/work/jacint/makefile
changeset 111 3a5ebcd91d37
parent 72 e560867cbe79
child 112 0220e23a954c
     1.1 --- a/src/work/jacint/makefile	Sat Feb 21 21:40:59 2004 +0000
     1.2 +++ b/src/work/jacint/makefile	Sat Feb 21 22:15:11 2004 +0000
     1.3 @@ -1,5 +1,40 @@
     1.4 -BINARIES = flow_test
     1.5 +CXX3 = g++-3.0
     1.6 +CXX2 = g++-2.95
     1.7 +CXXFLAGS = -W -Wall -ansi -pedantic
     1.8 +LEDAROOT = /ledasrc/LEDA-4.1
     1.9  
    1.10 -include ../makefile
    1.11 +BINARIES = preflow preflow_param preflow0 preflow1 preflow2 preflow3 preflow4 preflow_max_flow
    1.12  
    1.13 -CXXFLAGS := $(CXXFLAGS) -I.. -I../../include
    1.14 +all: $(BINARIES)
    1.15 +
    1.16 +makefile: .depend
    1.17 +sinclude .depend
    1.18 +
    1.19 +preflow_max_flow: 
    1.20 +	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_max_flow preflow_max_flow.cc
    1.21 +
    1.22 +preflow: 
    1.23 +	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow preflow.cc
    1.24 +
    1.25 +preflow_hl0: 
    1.26 +	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl0 preflow_hl0.cc
    1.27 +
    1.28 +preflow_hl1: 
    1.29 +	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl1 preflow_hl1.cc
    1.30 +
    1.31 +preflow_hl2: 
    1.32 +	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl2 preflow_hl2.cc
    1.33 +
    1.34 +preflow_hl3: 
    1.35 +	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl3 preflow_hl3.cc
    1.36 +
    1.37 +preflow_hl4: 
    1.38 +	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_hl4 preflow_hl4.cc
    1.39 +
    1.40 +preflow_param: 
    1.41 +	$(CXX3) $(CXXFLAGS) -O3 -I. -I.. -I../jacint -o preflow_param preflow_param.cc
    1.42 +
    1.43 +clean:
    1.44 +	$(RM) *.o $(BINARIES) .depend
    1.45 +
    1.46 +.PHONY: all clean dep depend