Move filesys_init into main_thread.
[pintos-anon] / src / Makefile.inc
index 6ffa3504a2e612be4ba5e4fec206f49baa82268d..472d34b1c1afaadbb7ada2eae661941a55230806 100644 (file)
@@ -7,8 +7,6 @@ VPATH := $(VPATH):$(TOP_SRCDIR)/lib
 VPATH := $(VPATH):$(TOP_SRCDIR)/filesys
 VPATH := $(VPATH):$(TOP_SRCDIR)/userprog
 
--include *.d
-
 DEFINES += -DCNACHOS86
 WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS = -g -O3 -MMD $(WARNINGS) $(INCLUDES) $(DEFINES)
@@ -31,6 +29,7 @@ DEVICES_SRC  = timer.c                # Timer device.
 DEVICES_SRC += kbd.c           # Keyboard device.
 DEVICES_SRC += vga.c           # Video device.
 DEVICES_SRC += serial.c                # Serial port device.
+DEVICES_SRC += disk.c          # IDE disk device.
 
 # Library code.
 LIB_SRC  = debug.c             # Debug helpers.
@@ -73,3 +72,5 @@ diskimage.bin: loader.bin kernel.bin
 
 clean:
        rm -f *.o *.d *.bin kernel.bin.data kernel.bin.pad intr-stubs.S
+
+-include *.d