📄 makefile
字号:
%.o:%.cc g++ -c -O -o $@ $<%.o:%.S g++ -c -D__ASSEMBLY__ -o $@ $<all: glue bootsect setup bootparamglue: glue.o g++ -o $@ $^bootsect: bootsect.o ld -e 0 -Ttext 0 -o $@ $@.osetup: setup.o ld -e 0 -Ttext 0 -o $@ $@.obootparam: bootparam.o g++ -o $@ $^SRCS:=glue.cc bootsect.S setup.S bootparam.ccdep: @rm -f Depend @for s in $(SRCS); do cpp -MM $$s >>Depend; doneclean: @rm -f *.o glue bootsect setup collect collect.nm bootparam Dependifeq (Depend, $(wildcard Depend))include Dependendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -