summaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index 3d310d0..1622d7b 100644
--- a/makefile
+++ b/makefile
@@ -29,7 +29,7 @@ ASFLAGS = -f elf32
export
-all: dir $(BLD)/boot.bin mb1
+all: dir $(BLD)/boot.bin mb1 mb2
dir:
@mkdir -p $(BLD)/entry/
@@ -39,6 +39,9 @@ dir:
mb1:
@$(MAKE) --no-print-directory -C example/$@
+mb2:
+ @$(MAKE) --no-print-directory -C example/$@
+
$(BLD)/boot.bin: $(BLD)/loader.bin
@$(AS) $(ASFLAGS) -f bin $(SRC)/entry/bootsector.asm -o $@