makefile

来自「在ARM7和UC/OSII的平台上实现了GPS自动报站的功能,涉及GPS模块LE」· 代码 · 共 59 行

TXT
59
字号
# makefile for NetPort modem directory. This builds a 
# library containing the protocols needed for Hayes modem
# control and related funtions in NetPort/InterNiche products.
#
#       This makefile should work with most development environments. 
# tool names, paths & flags should be set the included file "..\cflags.mak"
#
# Copyright 1997-1998 by InterNiche Technologies Inc. All rights reserved.
# Copyright 1993-1996 by NetPort Software. All rights reserved.
#
# 7/9/97 - Created from HTTP makefile. -JB-

#set tools, and environment
!include ..\cflags.mak

OBJS= \
        mdmport.$(OBJ)      \
        dialer.$(OBJ)      \
        login.$(OBJ)

# local file dependancies
DFILES = $(DEPEND_ALL) modem.h mdmport.h

# local includes
INCLUDE=$(ICMD). $(ICMD)..\mppp

# build target 
LIBNAME=modem.lib

all: $(LIBNAME)

$(LIBNAME): $(OBJS) $(DFILES)
        $(LIB2) $(LIBCMD2)

#
# Build rules:
#
.c.$(OBJ):
	$(CC) $(CFLAGS) $(INCLUDE) $*.c
	$(LIB) $(LIBCMD)

#
# "make clean" support:
#
clean:
        $(RM) *.$(OBJ)
        $(RM) *.lib
        $(CLEANCMD)

#
# Dependancy lists:
#
mdmport.$(OBJ): mdmport.c $(DFILES) makefile

dialer.$(OBJ): dialer.c $(DFILES) makefile

login.$(OBJ): login.c $(DFILES) makefile

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?