📄 makefile
字号:
# Makefile for miniPrintf
INC=../../inc
include ..\..\common.mak
# Uncomment the next three variables to configure the stack here instead
# of in the headers. Note that the Makefile in the NDK_ROOT directory
# will override the values if invoking this Makefile from there.
#STACK_CONFIG = -D_INCLUDE_PPP_CODE -D_INCLUDE_PPPOE_CODE
#CONFIG_FLAGS = -D_NDK_EXTERN_CONFIG $(STACK_CONFIG) $(PRINTF_CONFIG)
# Pattern rules for generic compliation
.SUFFIXES=
.SUFFIXES= .c .s62
%.obj : %.c
$(CC) -q $(CFLAGS) -I$(INC) $(CONFIG_FLAGS) -fr $(dir $<) $<
%.obj : %.s62
$(AS) $< $@ $(AS_FLAGS) -gs
PRINTF_HEADERS =
PRINTF_OBJS = miniPrintf.obj
all: miniPrintf.lib
miniPrintf.lib: $(PRINTF_OBJS)
$(FILE_DEL1)$@$(FILE_DEL2)
$(AR) $(AR_FLAGS) a $@ $(PRINTF_OBJS)
$(PRINTF_OBJS): $(PRINTF_HEADERS) $(BASEHDR)
clean:
$(CMD) $(FILE_DEL1)$(PRINTF_OBJS)$(FILE_DEL2)
$(CMD) $(FILE_DEL1)miniPrintf.lib$(FILE_DEL2)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -