X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2FMakefile.build;h=aa8e650dffb18ea253398ef642e345e1edc6e178;hb=f0ad7eb8b43516c7a2999fd217ec85d954dfc791;hp=baf4d83d565384926de500522ea71518964a126d;hpb=82b7512c230e93f7fe0c265a7161b59997f197f4;p=pintos-anon diff --git a/src/Makefile.build b/src/Makefile.build index baf4d83..aa8e650 100644 --- a/src/Makefile.build +++ b/src/Makefile.build @@ -68,9 +68,9 @@ 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 -C +threads/kernel.lds.s: CPPFLAGS += -P threads/kernel.lds.s: threads/kernel.lds.S threads/loader.h kernel.o: threads/kernel.lds.s $(OBJECTS)