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