📄 makefile
字号:
# Kernel makefileinclude ../include.makMY_OBJECTS := boot.o kmain.o printk.o psnprintf.o sout.o string.o thread.o \ debug.o mem.o int.o idt.o interrupt.o gdt.o tss.o sysinit.o \ kalloc.o heap.o page.o timer.o blockio.o vtext.o thr.o test.o# rules to create objects.SUFFIXES:.SUFFIXES: .c .cxx .s .o.c.o: $(CC) $(CFLAGS) -c $<.cxx.o: $(CPLUS) $(CXXFLAGS) -c $<.s.o: $(NASM) $(NASMFLAGS) -o $*.o $<# targetskernel.bin : $(MY_OBJECTS) $(LD) -M -o kernel.bin -T kernel.ld -e kstart $(MY_OBJECTS) \ > storage.txtclean : $(RM) *.o *.exe *.bin storage.txtrm-backups: $(RM) *~
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -