Revision 895 trunk/src/GNUmakefile

GNUmakefile (revision 895)
12 12
ADMB_HOME=${PWD}/${DISK}
13 13
endif
14 14

  
15
#CXXFLAGS_INCLUDES:=-I../df1b2-separable -I../nh99 -I../linad99 -I../tools99
16 15
CXXFLAGS_INCLUDES:=-I../${DISK}/include
17 16
ifeq ($(CXX),CC)
18 17
CXXFLAGS:=-D__GNUDOS__ -Dlinux -D__SPDLL__ -DUSE_LAPLACE $(CXXFLAGS)
......
117 116
	mkdir -p ${DISK}/bin
118 117
	cp df1b2-separable/seddf1b* df1b2-separable/sedf1b2* ${DISK}/bin
119 118
	cp ../scripts/admb/admb ${DISK}/bin
120
	cp ../scripts/admb/admb.bat ${DISK}/bin
121 119
	cp ../scripts/admb/adcomp ${DISK}/bin
122 120
	cp ../scripts/admb/adlink ${DISK}/bin
123 121
	rm -f ${DISK}/bin/admb-cfg.sh
124 122
	echo "CXX=$(CXX)" > ${DISK}/bin/admb-cfg.sh
125
ifeq ($(CXX),g++)
126
	  cp ../scripts/admb/adcomp.bat ${DISK}/bin
127
	  cp ../scripts/admb/adlink.bat ${DISK}/bin
123

  
124
bins2:
125
ifeq ($(SHELL),sh.exe)
126
	copy ../scripts/admb/admb.bat ${DISK}/bin
127
	copy ../scripts/mingw/set-admb-mingw.bat ${DISK}/bin
128
	copy ../utilities/sed.exe ${DISK}/bin
129
	copy ../scripts/admb/adcomp.bat ${DISK}/bin
130
	copy ../scripts/admb/adlink.bat ${DISK}/bin
128 131
endif
129
ifeq ($(CXX),g++.exe)
130
	  cp ../scripts/admb/admb.bat ${DISK}/bin
131
	  cp ../scripts/$(CXX)/adcomp.bat ${DISK}/bin
132
	  cp ../scripts/$(CXX)/adlink.bat ${DISK}/bin
133
	  cp ../scripts/mingw/set-admb-mingw.bat ${DISK}/bin
134
	  cp ../utilities/sed.exe ${DISK}/bin
135
endif
136 132

  
137

  
138 133
verify:
139 134
	ADMB_HOME="${ADMB_HOME}" PATH="${ADMB_HOME}/bin:$(PATH)" CXXFLAGS="${ADMB_CXXFLAGS}" LDFLAGS="${ADMB_LDFLAGS}" SAFE_OPTION=1 $(MAKE) -C $(DISK)/examples all
140 135
	-../scripts/get-outputs.sh ${DISK}/examples/ > "../benchmarks-saf.txt"

Also available in: Unified diff