📄 makefile.sav
字号:
CROSS_COMPILE= sh3-linux-CC =$(CROSS_COMPILE)gcc -I.LD =$(CROSS_COMPILE)ldOBJCOPY=$(CROSS_COMPILE)objcopyboot.b: first.bin second.bin cat first.bin second.bin >boot.bfirst.bin: first.exe $(OBJCOPY) -S first.exe -O binary first.binsecond.bin: second.exe $(OBJCOPY) -R .comment -S second.exe -O binary second.binfirst.exe: first.o $(LD) -EL -e start first.o -o first.exe -Ttext 0x8c200000second.exe: second.o string.o $(LD) -T second.lds -EL second.o string.o -o second.exe -Ttext 0x8c201000first.o: first.S $(CC) -O2 -g -ml -m3 -pipe -traditional -c first.Ssecond.o: second.c $(CC) -O2 -g -ml -m3 -Wall -pipe -fpic -c second.cstring.o: string.c $(CC) -O2 -g -ml -m3 -Wall -pipe -fpic -c string.cclean: rm -f *.o boot.b *.exe *.bin
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -