Revision 1187 branches/threaded2merge/src/GNUmakefile

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

Also available in: Unified diff