Update project Makefile
This commit is contained in:
parent
726beb6ea0
commit
18416dd901
2 changed files with 10 additions and 5 deletions
10
Makefile
10
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
|
||||
|
|
5
kernel/Makefile
Normal file
5
kernel/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
kernel.bin:
|
||||
touch kernel.bin
|
||||
|
||||
clean:
|
||||
rm kernel.bin
|
Loading…
Add table
Reference in a new issue