aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-02-11 03:15:39 +0000
committerK. Richard Pixley <rich@cygnus>1993-02-11 03:15:39 +0000
commit7413f20a5e7239807519f377b843750b31a7426f (patch)
treea87c926cbb7e0c064957e1d1da4597cd2b24113b /sim
parent733a94e88721dc7762176cdb948a75baa7923a97 (diff)
downloadgdb-7413f20a5e7239807519f377b843750b31a7426f.zip
gdb-7413f20a5e7239807519f377b843750b31a7426f.tar.gz
gdb-7413f20a5e7239807519f377b843750b31a7426f.tar.bz2
build endian.h via a temporary file so that we don't leave an
incomplete file lying around on interrupted builds.
Diffstat (limited to 'sim')
-rw-r--r--sim/ChangeLog6
-rw-r--r--sim/Makefile.in7
2 files changed, 10 insertions, 3 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog
index b601393..e80f35f 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 dd5708c..12faaab 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