📄 makefile
字号:
# makefile for NetPort MTCP (minimal tcp) directory. This builds a library
# containing the minimal size version of TCP portion of the IP family of
# internetworking protocols.
#
# This makefile should work with most development environments.
# tool names, paths & flags should be set the included file "..\cflags.mak"
#
# Copyright 1997-2000 by InterNiche Technologies Inc. All rights reserved.
# Copyright 1993-1996 by NetPort Software. All rights reserved.
#
#set tools, and environment
!include ..\cflags.mak
OBJS= \
tcpout.$(OBJ) \
tcputil.$(OBJ) \
tcpapi.$(OBJ) \
tcp_timr.$(OBJ) \
tcpdebug.$(OBJ) \
tcpin.$(OBJ)
# local file dependancies
DFILES = $(DEPEND_ALL)
# local includes
INCLUDE=$(ICMD).
# build target
LIBNAME=mtcp.lib
all: $(LIBNAME)
$(LIBNAME): $(OBJS) makefile
$(LIB2) $(LIBCMD2)
#
# Build rules:
#
.c.$(OBJ):
$(CC) $(CFLAGS) $(INCLUDE) $*.c
$(LIB) $(LIBCMD)
#
# "make clean" support:
#
clean:
fdel *.$(OBJ)
fdel *.lib
$(CLEANCMD)
#
# Dependancy lists:
#
tcpout.$(OBJ): tcpout.c $(DFILES) makefile
tcpin.$(OBJ): tcpin.c $(DFILES) makefile
tcputil.$(OBJ): tcputil.c $(DFILES) makefile
tcpapi.$(OBJ): tcpapi.c $(DFILES) makefile
tcp_timr.$(OBJ): tcp_timr.c $(DFILES) makefile
tcpdebug.$(OBJ): tcpdebug.c $(DFILES) makefile
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -