Revision 752 branches/threaded2/src/linux.mak

linux.mak (revision 752)
18 18
ADMB_HOME=${PWD}/${DISK}
19 19
endif
20 20

  
21
CXXFLAGS:= -pthread -DUSE_PTHREADS -DADMB_VERSION=$(shell cat ../VERSION) $(CXXFLAGS)
21
CXXFLAGS:=-std=c++11 -pthread -DUSE_PTHREADS -DADMB_VERSION=$(shell cat ../VERSION) $(CXXFLAGS)
22 22

  
23 23
ifndef ADMB_REVISION
24 24
ADMB_REVISION=$(shell test -e ../REVISION && cat ../REVISION)
......
100 100
	cp -R ../examples/admb-re ${DISK}/examples/admb-re
101 101

  
102 102
verify:
103
	ADMB_HOME="${ADMB_HOME}" PATH="${ADMB_HOME}/bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" SAFE_OPTION=1 $(MAKE) -C ${DISK}/examples all
103
	ADMB_HOME="${ADMB_HOME}" PATH="${ADMB_HOME}/bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" DEBUG=1 SAFE_OPTION=1 $(MAKE) -C ${DISK}/examples all
104 104
	-../scripts/get-outputs.sh ${DISK}/examples/ > "../benchmarks$(ADMB_REVISION)-saf.txt"
105
	ADMB_HOME="${ADMB_HOME}" PATH="${ADMB_HOME}/bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" $(MAKE) -C ${DISK}/examples all
105
	ADMB_HOME="${ADMB_HOME}" PATH="${ADMB_HOME}/bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" DEBUG=1 $(MAKE) -C ${DISK}/examples all
106 106
	-../scripts/get-outputs.sh ${DISK}/examples/ > "../benchmarks$(ADMB_REVISION)-opt.txt"
107 107

  
108 108
check-admb2r:

Also available in: Unified diff