📄 makefile
字号:
# Makefile for netctrl
INC=../../inc
include ..\..\common.mak
# Uncomment the next two 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 invoke this Makefile from there.
#NETCTRL_CONFIG = -DNETSRV_ENABLE_TELNET -DNETSRV_ENABLE_HTTP \
# -DNETSRV_ENABLE_DHCPCLIENT -DNETSRV_ENABLE_DHCPSERVER \
# -DNETSRV_ENABLE_DNSSERVER -DUSE_EVENT_SEMAPHORE
#CONFIG_FLAGS = -D_NDK_EXTERN_CONFIG $(NETCTRL_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_OPTS) -gs $(AS_FLAGS)
NETCTRL_HEADERS = $(INC)\netctrl\netsrv.h $(INC)\netctrl\netctrl.h
NETCTRL_OBJS = netctrl.obj netsrv.obj
all: netctrl.lib
netctrl.lib: $(NETCTRL_OBJS)
$(FILE_DEL1)$@$(FILE_DEL2)
$(AR) $(AR_FLAGS) a $@ $(NETCTRL_OBJS)
$(NETCTRL_OBJS): $(NETCTRL_HEADERS) $(BASEHDR) $(STACKHDR) $(TOOLSHDR) \
$(TOOLSHDRALL)
clean:
$(CMD) $(FILE_DEL1)$(NETCTRL_OBJS)$(FILE_DEL2)
$(CMD) $(FILE_DEL1)netctrl.lib$(FILE_DEL2)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -