summaryrefslogtreecommitdiff
path: root/sim/Makefile.in
diff options
context:
space:
mode:
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