makefile

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

TXT
56
字号
# makefile for NetPort CRYPT directory. This builds a 
# library containing the protocols needed for Cryptography
# 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= \
        md5.$(OBJ) \
        md4.$(OBJ)

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

# local includes
INCLUDE=$(ICMD).

# build target 
LIBNAME=crypt.lib

all: $(LIBNAME)

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

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

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

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

md4.$(OBJ): md4.c md4.h $(DFILES) makefile

⌨️ 快捷键说明

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