Use "&& mv $@.tmp $@" for threads/intr-stubs.S.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 3 Nov 2004 22:48:38 +0000 (22:48 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 3 Nov 2004 22:48:38 +0000 (22:48 +0000)
src/Makefile.build

index d5ce473e48e01620930369bcf29ae2a94f38c31e..aa8e650dffb18ea253398ef642e345e1edc6e178 100644 (file)
@@ -68,7 +68,7 @@ DEPENDS = $(patsubst %.o,%.d,$(OBJECTS))
 all: os.dsk
 
 threads/intr-stubs.S: threads/intr-stubs.pl threads/loader.h
-       $< > $@
+       $< > $@.tmp && mv $@.tmp $@
 
 threads/kernel.lds.s: CPPFLAGS += -P
 threads/kernel.lds.s: threads/kernel.lds.S threads/loader.h