Update project Makefile

This commit is contained in:
manzerbredes 2015-07-18 20:23:49 +04:00
parent 726beb6ea0
commit 18416dd901
2 changed files with 10 additions and 5 deletions

View file

@ -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

5
kernel/Makefile Normal file
View file

@ -0,0 +1,5 @@
kernel.bin:
touch kernel.bin
clean:
rm kernel.bin