X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2FMakefile.build;h=d4c6d659d0afc5af2da03dbe67751d10beff0324;hb=fee64035c4cd307b9b01a954ec9fb3684d2aa56b;hp=baf4d83d565384926de500522ea71518964a126d;hpb=0a4a89a5cbd48479aa7e225b169d85dc849786ec;p=pintos-anon diff --git a/src/Makefile.build b/src/Makefile.build index baf4d83..d4c6d65 100644 --- a/src/Makefile.build +++ b/src/Makefile.build @@ -67,10 +67,7 @@ DEPENDS = $(patsubst %.o,%.d,$(OBJECTS)) all: os.dsk -threads/intr-stubs.S: threads/intr-stubs.pl threads/loader.h - $< > $@ - -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) @@ -92,7 +89,7 @@ os.dsk: loader.bin kernel.bin clean: $(RM) -f $(OBJECTS) $(DEPENDS) - $(RM) -f threads/intr-stubs.S threads/loader.o + $(RM) -f threads/loader.o $(RM) -f kernel.o kernel.lds.s $(RM) -f kernel.bin loader.bin