📄 makefile
字号:
## if you want the ram-disk device, define this to be the# size in blocks.#AS86 =as86 -0 -aLD86 =ld86 -0AS =gasLD =gldLDFLAGS =-s -x -MCC =gcc $(RAMDISK)CFLAGS =-Wall -O -fstrength-reduce -fomit-frame-pointer \-fcombine-regs CPP =cpp -nostdinc -Iinclude.c.s: $(CC) $(CFLAGS) \ -nostdinc -Iinclude -S -o $*.s $<.s.o: $(AS) -c -o $*.o $<.c.o: $(CC) $(CFLAGS) \ -nostdinc -Iinclude -c -o $*.o $<all: ImageImage: boot/boot tools/system tools/build tools/build boot/boot tools/system > Image syncdisk: Image dd bs=8192 if=Image of=/dev/fd0 sync;sync;synctools/build: tools/build.c $(CC) $(CFLAGS) \ -o tools/build tools/build.cboot/head.o: boot/head.stools/system: boot/head.o $(LD) $(LDFLAGS) boot/head.o -o tools/system > System.mapboot/boot: boot/boot.s $(AS86) -o boot/boot.o boot/boot.s $(LD86) -s -o boot/boot boot/boot.oclean: rm -f Image System.map tmp_make core boot/boot rm -f init/*.o tools/system tools/build boot/*.o
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -