Revision 1191

branches/threaded2merge/src/GNUmakefile (revision 1191)
384 384
  endif
385 385
	rm -f ${DISK}/bin/admb-cfg.sh
386 386
	echo "ADMB_CFG_CXX=$(CXX)" > ${DISK}/bin/admb-cfg.sh
387
	echo "ADMB_CFG_CXXFLAGS=-pthread $(CXXFLAGS)" >> ${DISK}/bin/admb-cfg.sh
387
	echo "ADMB_CFG_CXXFLAGS=\"-pthread $(CXXFLAGS)\"" >> ${DISK}/bin/admb-cfg.sh
388 388
  ifeq ($(OS),Windows_NT)
389
	echo "ADMB_CFG_LDFLAGS=-static $(LDFLAGS)" >> ${DISK}/bin/admb-cfg.sh
389
	echo "ADMB_CFG_LDFLAGS=\"-static $(LDFLAGS)\"" >> ${DISK}/bin/admb-cfg.sh
390 390
  else
391
	echo "ADMB_CFG_LDFLAGS=-pthread $(LDFLAGS)" >> ${DISK}/bin/admb-cfg.sh
391
	echo "ADMB_CFG_LDFLAGS=\"-pthread $(LDFLAGS)\"" >> ${DISK}/bin/admb-cfg.sh
392 392
  endif
393 393
	$(MAKE) --directory=df1b2-separable CC=$(CC) DISKDIR=../${DISK} bins
394 394
	$(MAKE) --directory=nh99 CC=$(CC) DISKDIR=../${DISK} bins

Also available in: Unified diff