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?a=commitdiff_plain;h=e708bdc34d3a44edb5929334349f084bd7bb52a5;p=pintos-anon 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