⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 common.mak

📁 FDI Intel开发的FLASH文件系统,功能很强大
💻 MAK
字号:
 ### Copyright(R) 1997 Intel Corporation
 ########################################################################
 ###
 ### Object: Makefile for common directory. This file includes make 
 ###         directives to make the common directory code. It should
 ###         not require porting unless your make tools are 
 ###         significantly different.
 ###
 ###   $Workfile: COMMON.MAK $
 ###   $Revision: 39 $
 ###   $History: COMMON.MAK $
 ### 
 ### *****************  Version 39  *****************
 ### User: Ssriniv1     Date: 6/01/01    Time: 11:30a
 ### Updated in $/FDI/SRC/COMMON
 ### changed '\' to '/'
 ### 
 ### *****************  Version 35  *****************
 ### User: Ssriniv1     Date: 2/16/01    Time: 3:46p
 ### Updated in $/FDI/SRC/COMMON
 ### Merged in changes for ISF
 ### 
 ### *****************  Version 2  *****************
 ### User: Ssriniv1     Date: 2/09/01    Time: 2:30p
 ### Updated in $/Merged/Common
 ### 
 ### *****************  Version 22  *****************
 ### User: Ramcgrew     Date: 11/01/99   Time: 10:13a
 ### Updated in $/FDI/SRC/COMMON
 ### 1) FDI_Bkgd.c: BKGD_CheckForSpace is changed, new code is embraced in
 ### the compile option FIX_CHKSPACE_ISSUE.
 ### 2) FDI_Pckt.c: FDI_InitPacket is changed.
 ### 3) FDI_Recl.c: Recl_Task is changed for fixing a bug, the changed code
 ### is embraced in the compile option PACKET_DATA.
 ### 4) FDI_Int.h: the declaration of data structre COMMAND is changed for
 ### the compile option FIX_CHKSPACE_ISSUE.
 ### 5) FDI_Pckt.h: added OPTIMA_TASKDELAY for replacing taskDelay with
 ### semaphores.
 ### 6) FDI_type.h: added FIX_CHKSPACE_ISSUE, PACKETNPLRTEST is set to FALSE
 ### as default.
 ### 7) FDI_Lowl.h: FDI_LowLevelWritePacket is changed for performance
 ### enhancement.
 ### 7) Layer3.c: line 1401, changed to (DWORD)&flash_addr[0] for
 ### eliminating a warning line 1764, changed #ifndef PACKETNPLRTEST to #if
 ### (PACKETNPLRTEST == FALSE)
 ### 
 ### *****************  Version 21  *****************
 ### User: Ramcgrew     Date: 8/18/99    Time: 8:40a
 ### Updated in $/FDI/src/COMMON
 ### FDI2.5 enhancement: Modify filenames so no porting conflicts arise.
 ### 
 ### *****************  Version 3  *****************
 ### User: Depingre     Date: 8/18/98    Time: 5:37p
 ### Updated in $/FDI/SRC/COMMON
 ###  
 ###
 ###
 ###$NoKeywords: $
 ######################################################################## */

# Target  Function
# ------  --------
# all           make module
# test          make module for unit test
# clean         remove objects


### Include FDI specific definitions and flags
include ../makeAnch
include $(FDI_PATH)/makeMac

# Output module names
COMMON_MOD     = $(COMMON)/common.out
COMMON_TESTMOD = $(COMMON)/dbg_com.out

### Source dependencies
COMMON_SRCS    = $(COMMON)/FDI_Que.c 
COMMON_OBJS    = $(COMMON)/FDI_Que.o
COMMON_INCS    = $(INCS)
COMMON_MAKES   = $(MAKES) $(COMMON)/common.mak

### Test source dependencies for unit level test
COMMON_TESTSRCS = $(COMMON)/main.c
COMMON_TESTOBJS = $(COMMON)/main.o 

### additional include paths
CPPFLAGS +=     

### additional compilation switches, macro definitions
CFLAGS +=  

### COMMON target
all  : $(COMMON_MOD) 

### Test target
test : $(COMMON_TESTMOD) 

### Link test objects
$(COMMON_TESTMOD) : $(COMMON_OBJS) $(COMMON_TESTOBJS)
	$(LD) -Map common.map $(LNKFLAGS) -o $@ -r $(COMMON_OBJS) $(COMMON_TESTOBJS)

### Link objects
$(COMMON_MOD) : $(COMMON_OBJS)
	$(LD) -Map common.map $(LNKFLAGS) -o $@ -r $(COMMON_OBJS)

### Source code compilation
$(COMMON_OBJS) : $(COMMON_SRCS) $(COMMON_INCS) $(COMMON_MAKES)
	$(CC) $(CPPFLAGS) $(CFLAGS) $(COMMON_SRCS)

### Source test code compilation
$(COMMON_TESTOBJS) : $(COMMON_TESTSRCS) $(COMMON_INCS) $(COMMON_MAKES)
	$(CC) $(CPPFLAGS) $(CFLAGS) $(COMMON_TESTSRCS)

### Placebo rules
$(COMMON_SRCS) :
$(COMMON_INCS) :
$(COMMON_MAKES):
$(COMMON_TESTSRCS):

common_clean:
	del $(COMMON_OBJS) $(COMMON_MOD) $(COMMON_TESTOBJS) $(COMMON_TESTMOD)

⌨️ 快捷键说明

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