From: Ben Pfaff Date: Wed, 3 Nov 2004 22:48:38 +0000 (+0000) Subject: Use "&& mv $@.tmp $@" for threads/intr-stubs.S. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=commitdiff_plain;h=4fe53f951fe48c54145b1a74d375a02e0cf82620 Use "&& mv $@.tmp $@" for threads/intr-stubs.S. --- diff --git a/src/Makefile.build b/src/Makefile.build index d5ce473..aa8e650 100644 --- a/src/Makefile.build +++ b/src/Makefile.build @@ -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