makefile
来自「在ARM7和UC/OSII的平台上实现了GPS自动报站的功能,涉及GPS模块LE」· 代码 · 共 69 行
TXT
69 行
# 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 + =
减小字号Ctrl + -
显示快捷键?