Revision 1037 trunk/src/GNUmakefile

GNUmakefile (revision 1037)
29 29
CXXFLAGS:=-O3 $(CXXFLAGS)
30 30
endif
31 31

  
32
all: dist contrib
32
all: revision dist contrib
33 33
ifeq ($(SHELL),sh.exe)
34 34
	pushd $(DISK) & cscript ..\..\scripts\create-admb-shortcut.vbs & popd
35 35
endif
36 36
	@echo ADMB build completed.
37 37
	@echo For installation, check README.txt.
38 38

  
39
revision:
40
	-svnversion .. > ../REVISION
39 41
dist:
40 42
ifneq ($(SHELL),sh.exe)
41 43
	rm -rf ${DISK}
......
249 251
verify:
250 252
ifndef USE_ADMB_HOME
251 253
  ifneq ($(SHELL),sh.exe)
252
	ADMB_HOME="${PWD}/${DISK}" PATH="${PWD}/${DISK}/bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" SAFE_OPTION=1 $(MAKE) -C $(DISK)/examples all
254
	PATH="${PWD}/${DISK}/bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" SAFE_OPTION=1 $(MAKE) -C $(DISK)/examples all
253 255
	-../scripts/get-outputs.sh ${DISK}/examples/ > "../benchmarks-saf.txt"
254
	ADMB_HOME="${PWD}/${DISK}" PATH="${PWD}/${DISK}/bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" $(MAKE) -C $(DISK)/examples all
256
	PATH="${PWD}/${DISK}/bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" $(MAKE) -C $(DISK)/examples all
255 257
	-../scripts/get-outputs.sh ${DISK}/examples/ > "../benchmarks-opt.txt"
256 258
  else
257 259
	$(MAKE) ADMB_HOME="$(CURDIR)\${DISK}" PATH="$(CURDIR)\${DISK}\bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" SAFE_OPTION=1 -C $(DISK)\examples --file=Makefile all

Also available in: Unified diff