diff --git a/Makefile b/Makefile index 12e50b9..1bbd423 100644 --- a/Makefile +++ b/Makefile @@ -10,16 +10,16 @@ DISK.APM: kernel.elf bootinfo.txt kpartx.sh sudo cp kernel.elf /mnt/boot sudo umount /mnt/ sudo kpartx -d DISK.APM -bootinfo.txt: load.fth +bootinfo.txt: loader/load.fth echo "" >> bootinfo.txt - cat load.fth >> bootinfo.txt + cat loader/load.fth >> bootinfo.txt echo "" >> bootinfo.txt kernel.elf: start.elf boot.elf $(PPC)-ld -Ttext=0x200000 start.elf boot.elf -o kernel.elf -boot.elf: boot.c - $(PPC)-gcc -c boot.c -o boot.elf -start.elf: start.s - $(PPC)-as -c start.s -o start.elf +boot.elf: entry/boot.c + $(PPC)-gcc -c entry/boot.c -o boot.elf +start.elf: entry/start.s + $(PPC)-as -c entry/start.s -o start.elf clean: rm DISK.APM *elf *txt run: diff --git a/boot.c b/entry/boot.c similarity index 100% rename from boot.c rename to entry/boot.c diff --git a/start.s b/entry/start.s similarity index 100% rename from start.s rename to entry/start.s diff --git a/load.fth b/loader/load.fth similarity index 100% rename from load.fth rename to loader/load.fth