📄 makefile
字号:
TARGET_TYPE := BINARY_FILETARGET := init_pt110.binMAIN_SRC := init.S# when building inside RMF, avoid to inherit pthread, dl, rdynamic...COMPILKIND :=LDFLAGS += -Xlinker -Ttext -Xlinker 0x0 -nostartfilesCROSS := arm-elf-ifneq ($(findstring $(MAIN_SRC), $(wildcard $(MAIN_SRC))), $(MAIN_SRC))ifneq ($(findstring init_pt110_bin.h, $(wildcard init_pt110_bin.h)), init_pt110_bin.h)$(error No target and no source, please help me!!!)endifTARGET :=MAIN_SRC :=elseendifinclude ../scripts/inc.Makefileinit_pt110_bin.h: $(TARGET) ( \ echo "static RMuint8 init_pt110_bin[] = {" ; \ hexdump -v -e '"\t" 8/1 "0x%02x, " "\n"' $< ; \ echo "};"\ ) | perl -pe 's/0x\s*,//mg' > $@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -