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