diff --git a/Makefile b/Makefile index d57ab2f..02b8066 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ -PiegOS: bootloader/bootloader.bin - cp $< ./$@ +PiegOS: kernel/kernel.bin + cp kernel/kernel.bin ./PiegOS -bootloader/bootloader.bin: bootloader/Makefile - cd bootloader && make +kernel/kernel.bin: + cd kernel/ && make clean: - cd bootloader && make clean + cd kernel && make clean rm PiegOS diff --git a/kernel/Makefile b/kernel/Makefile new file mode 100644 index 0000000..0550f6d --- /dev/null +++ b/kernel/Makefile @@ -0,0 +1,5 @@ +kernel.bin: + touch kernel.bin + +clean: + rm kernel.bin