📄 makefile
字号:
CC = gccLD = ldLDFILE = os_x86.ldOBJCOPY = objcopyall:boot_hw.imgboot_hw.o: boot_hw.s $(CC) -c boot_hw.sboot_hw.elf: boot_hw.o $(LD) boot_hw.o -o boot_hw.elf -e c -T$(LDFILE)boot_hw.bin : boot_hw.elf @$(OBJCOPY) -R .pdr -R .comment -R .note -S -O binary boot_hw.elf boot_hw.binboot_hw.img : boot_hw.bin @dd if=boot_hw.bin of=boot_hw.img bs=512 count=1 @dd if=/dev/zero of=boot_hw.img skip=1 seek=1 bs=512 count=2879clean: @rm -rf boot_hw.o boot_hw.elf boot_hw.bin boot_hw.img
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -