Revision 1129 trunk/src/GNUmakefile

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

Also available in: Unified diff