mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 18:33:23 +00:00
🔧 修改为makefile的构建方式,程序能正常运行
This commit is contained in:
11
bootloader/Makefile
Normal file
11
bootloader/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
all: boot.bin loader.bin
|
||||
|
||||
boot.bin: boot.asm
|
||||
nasm boot.asm -o ../bin/bootloader/boot.bin
|
||||
|
||||
loader.bin: loader.asm
|
||||
nasm loader.asm -o ../bin/bootloader/lodaer.bin
|
||||
|
||||
|
||||
clean:
|
||||
rm -rf *.asm~ Makefile~
|
Reference in New Issue
Block a user