Align comments.
[pintos-anon] / src / Makefile.build
index aa8e650dffb18ea253398ef642e345e1edc6e178..df3877705db29ff9deb09bf13f2e8c1d11d18abe 100644 (file)
@@ -31,11 +31,11 @@ devices_SRC += devices/disk.c               # IDE disk device.
 devices_SRC += devices/intq.c          # Interrupt queue.
 
 # Library code shared between kernel and user programs.
-lib_SRC  = lib/debug.c         # Debug helpers.
-lib_SRC += lib/random.c                # Pseudo-random numbers.
-lib_SRC += lib/stdio.c         # I/O library.
-lib_SRC += lib/stdlib.c                # Utility functions.
-lib_SRC += lib/string.c                # String functions.
+lib_SRC  = lib/debug.c                 # Debug helpers.
+lib_SRC += lib/random.c                        # Pseudo-random numbers.
+lib_SRC += lib/stdio.c                 # I/O library.
+lib_SRC += lib/stdlib.c                        # Utility functions.
+lib_SRC += lib/string.c                        # String functions.
 
 # Kernel-specific library code.
 lib_kernel_SRC += lib/kernel/list.c    # Doubly-linked lists.
@@ -67,9 +67,6 @@ 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
 
@@ -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