Revision 1128 trunk/src/GNUmakefile

GNUmakefile (revision 1128)
354 354
	if not exist ${DISK}\bin md ${DISK}\bin
355 355
	copy df1b2-separable\seddf1b* ${DISK}\bin
356 356
	copy df1b2-separable\sedf1b2* ${DISK}\bin
357
	if exist ${DISK}\bin\admb-cfg.sh del ${DISK}\bin\admb-cfg.sh
358
	echo "CXX=$(CXX)" > ${DISK}\bin\admb-cfg.sh
359
	echo "CXXFLAGS=$(CXXFLAGS)" >> ${DISK}\bin\admb-cfg.sh
357
	if exist ${DISK}\bin\admb-cfg.bat del ${DISK}\bin\admb-cfg.bat
358
	echo set ADMB_CFG_CXX=$(CXX) > ${DISK}\bin\admb-cfg.bat
359
	echo set ADMB_CFG_CXXFLAGS=$(CXXFLAGS) >> ${DISK}\bin\admb-cfg.bat
360 360
  ifeq ($(OS),Windows_NT)
361
	echo "LDFLAGS=-static $(LDFLAGS)" >> ${DISK}\bin\admb-cfg.sh
361
	echo set ADMB_CFG_LDFLAGS=-static $(LDFLAGS) >> ${DISK}\bin\admb-cfg.bat
362 362
  else
363
	echo "LDFLAGS=$(LDFLAGS)" >> ${DISK}\bin\admb-cfg.sh
363
	echo set ADMB_CFG_LDFLAGS=$(LDFLAGS) >> ${DISK}\bin\admb-cfg.bat
364 364
  endif
365 365
	$(MAKE) --directory=df1b2-separable CC=$(CC) DISKDIR=..\${DISK} bins
366 366
	$(MAKE) --directory=nh99 CC=$(CC) DISKDIR=..\${DISK} bins

Also available in: Unified diff