Revision 1127 trunk/src/GNUmakefile

GNUmakefile (revision 1127)
357 357
	if exist ${DISK}\bin\admb-cfg.sh del ${DISK}\bin\admb-cfg.sh
358 358
	echo "CXX=$(CXX)" > ${DISK}\bin\admb-cfg.sh
359 359
	echo "CXXFLAGS=$(CXXFLAGS)" >> ${DISK}\bin\admb-cfg.sh
360
  ifeq ($(OS),Windows_NT)
361
	echo "LDFLAGS=-static $(LDFLAGS)" >> ${DISK}\bin\admb-cfg.sh
362
  else
360 363
	echo "LDFLAGS=$(LDFLAGS)" >> ${DISK}\bin\admb-cfg.sh
364
  endif
361 365
	$(MAKE) --directory=df1b2-separable CC=$(CC) DISKDIR=..\${DISK} bins
362 366
	$(MAKE) --directory=nh99 CC=$(CC) DISKDIR=..\${DISK} bins
363 367
	copy ..\scripts\mingw\set-admb-mingw.bat ${DISK}\bin
......
382 386
	rm -f ${DISK}/bin/admb-cfg.sh
383 387
	echo "CXX=$(CXX)" > ${DISK}/bin/admb-cfg.sh
384 388
	echo "CXXFLAGS=$(CXXFLAGS)" >> ${DISK}/bin/admb-cfg.sh
389
  ifeq ($(OS),Windows_NT)
390
	echo "LDFLAGS=-static $(LDFLAGS)" >> ${DISK}/bin/admb-cfg.sh
391
  else
385 392
	echo "LDFLAGS=$(LDFLAGS)" >> ${DISK}/bin/admb-cfg.sh
393
  endif
386 394
	$(MAKE) --directory=df1b2-separable CC=$(CC) DISKDIR=../${DISK} bins
387 395
	$(MAKE) --directory=nh99 CC=$(CC) DISKDIR=../${DISK} bins
388 396
	ln -sf bin/admb ${DISK}

Also available in: Unified diff