Mercurial > hg > octave-terminal
changeset 609:cdc194110938
[project @ 1994-08-14 00:26:55 by jwe]
author | jwe |
---|---|
date | Sun, 14 Aug 1994 00:28:54 +0000 |
parents | a675e03540dd |
children | 14b2a186a5c0 |
files | src/Makefile.in |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Makefile.in +++ b/src/Makefile.in @@ -37,7 +37,13 @@ @echo making $@ from $< @$(CXXCPP) -c $(CPPFLAGS) $(XALL_CXXFLAGS) -DMAKE_BUILTINS $< \ | $(srcdir)/mkdefs > $@.tmp - @mv $@.tmp $@ + @if test "`wc $@.tmp | awk '{print $3}'`" -ne 0 ; then \ + mv $@.tmp $@ ; \ + else \ + echo "error: $@ is empty!" 1>&2 ; \ + rm -f $@.tmp ; \ + exit 1 ; \ + fi DLD_SRC = f-balance.cc f-chol.cc f-colloc.cc f-dassl.cc f-det.cc \ f-eig.cc f-expm.cc f-fft.cc f-find.cc \ @@ -46,7 +52,6 @@ f-minmax.cc f-npsol.cc f-qpsol.cc f-qr.cc f-quad.cc f-qzval.cc \ f-rand.cc f-schur.cc f-sort.cc f-svd.cc f-syl.cc - DLD_OBJ = f-balance.o f-chol.o f-colloc.o f-dassl.o f-det.o f-eig.o \ f-expm.o f-fft.o f-find.o f-fsolve.o \ f-fsqp.o f-givens.o f-hess.o f-ifft.o f-inv.o \