diff --git a/sim/ChangeLog b/sim/ChangeLog index b601393ed3..e80f35fa7f 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,9 @@ +Wed Feb 10 20:12:27 1993 K. Richard Pixley (rich@ok.cygnus.com) + + * Makefile.in (endian.h): build endian.h via a temporary file so + that we don't leave an incomplete file lying around on + interrupted builds. + Mon Feb 8 11:46:06 1993 Steve Chamberlain (sac@thepub.cygnus.com) * Makefile.in, configure.in: if target isn't supported, build a diff --git a/sim/Makefile.in b/sim/Makefile.in index dd5708caca..12faaab329 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -93,10 +93,11 @@ clean: $(CLEAN) install: $(INSTALL) +### build endian.h via a temporary so that interrupted builds will not +### leave an incomplete endian.h lying around. endian.h: endian - ./endian > endian.h - - + ./endian > e.h + mv -f e.h endian.h ### none