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
|
PiegOS: kernel/kernel.bin
|
||||||
cp $< ./$@
|
cp kernel/kernel.bin ./PiegOS
|
||||||
|
|
||||||
bootloader/bootloader.bin: bootloader/Makefile
|
kernel/kernel.bin:
|
||||||
cd bootloader && make
|
cd kernel/ && make
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cd bootloader && make clean
|
cd kernel && make clean
|
||||||
rm PiegOS
|
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