📄 makefile
字号:
##makefile for helloforSkyeye##author: SU Hang#Date: 2004-08-28#begin CC=arm-elf-gcc LD=arm-elf-ld CFLAGS= -c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -pipe -g -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes LDFLAGS= -p -X -Thello.lds LIB= all: hello hello: start.o hello.o $(LD) $(LDFLAGS) start.o hello.o -o hello arm-elf-objdump -xS hello > hello.s arm-elf-readelf -a hello > hello.r arm-elf-nm hello > hello.n start.o:start.S $(CC) $(CFLAGS) start.S hello.o:hello.c $(CC) $(CFLAGS) hello.c clean: rm -rf *.o *.elf *.gdb hello *.r *.n *.s#end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -