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

📄 makefile.common

📁 T-kernel Tcp/ip Protocol Stack Sample
💻 COMMON
字号:
#/*""FILE COMMENT""*************************************************************#*   System Name : RENESAS T-Engine/micro T-Engine series#*   File Name   : Makefile.common#*   Version     : 1.00.01#*   Contents    : Makefile for TCP/IP library(LAN91C111 driver)#*   Model       : Renesas T-Engine / micro T-Engine#*   CPU         : SuperH / M32R#*   Compiler    : GNU#*   OS          : T-Kernel#*   note        : The Software is being delivered to you "AS IS" #*               : and Renesas,whether explicitly or implicitly makes  #*               : no warranty as to its Use or performance. #*               : RENESAS AND ITS SUPPLIER DO NOT AND CANNOT WARRANT #*               : THE PERFORMANCE OR RESULTS YOU MAY OBTAIN  BY USING #*               : THE SOFTWARE. AS TO ANY MATTER INCLUDING WITHOUT #*               : LIMITATION NONINFRINGEMENT OF THIRD PARTY RIGHTS,#*               : MERCHANTABILITY, INTEGRATION, SATISFACTORY QUALITY, #*               : OR FITNESS FOR ANY PARTICULAR PURPOSE.#*#*   Copyright (c) 2004-2006 MITSUBISHI ELECTRIC CORP. All Rights Reserved.#*   AND RENESAS TECHNOLOGY CORP. All Rights Reserved.#*   AND RENESAS SOLUTIONS CORP. All Rights Reserved.#*#*   history     : 2004.10.04 Ver.1.00.00#*               : 2006.02.01 Ver.1.00.01#*""FILE COMMENT END""*********************************************************/# source file dependencies (generated automatically)DEPS = DependenciesDEPENDENCIES_OUTPUT := $(DEPS)# ----------------------------------------------------------------------------# target fileTARGET = liblan_sn.a# source file pathTOP = ../../../../..S = ../../src#TCPIP_LIB_INSTALLDIR = ../../../build/$(TETYPE)_$(MACHINE)VPATH = $(S) $(S)/sysdepend/$(TETYPE)_$(MACHINE)HEADER = $(S) $(TOP)/include $(BD)/include# source filesSRC += if_snnew.cOBJ	= $(addsuffix .o, $(basename $(notdir $(SRC))))# compiler optionsCFLAGS += $(CFLAGS_WARNING) -DEMB_SYS -DINET -DKERNEL -DCOMPAT_43 -DT_KERNELCFLAGS += -DLAN91C111# ----------------------------------------------------------------------------.PHONY: all clean installALL = $(TARGET)all: $(ALL)$(TARGET): $(OBJ)	$(AR) $(ARFLAGS) $@ $?  ifdef RANLIB	$(RANLIB) $@  endif	cp $(TARGET) $(TCPIP_LIB_INSTALLDIR)install: $(addprefix $(TCPIP_LIB_INSTALLDIR)/, $(ALL))clean:	$(RM) $(OBJ) $(ALL) $(DEPS)# generate dependenciesifdef DEPENDENCIES_OUTPUT  $(DEPS): ; touch $(DEPS)else  $(DEPS): $(SRC) ; $(MAKEDEPS) $@ $?endifinclude $(DEPS)

⌨️ 快捷键说明

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