X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2FMakefile.build;h=aa8e650dffb18ea253398ef642e345e1edc6e178;hb=da63cef9fbe1173816e835d4fcb07ba62bfe89de;hp=d5ce473e48e01620930369bcf29ae2a94f38c31e;hpb=d5567cf488e91ac6f6bf10cd8c0d44b58213a6e6;p=pintos-anon 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