summaryrefslogtreecommitdiff
path: root/sim/Makefile.in
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/Makefile.in
parent733a94e88721dc7762176cdb948a75baa7923a97 (diff)
downloadbinutils-gdb-7413f20a5e7239807519f377b843750b31a7426f.tar.gz
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/Makefile.in')
-rw-r--r--sim/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in
index dd5708cacaa..12faaab3291 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