📄 makefile
字号:
## (C) Copyright 2006# Wolfgang Denk, DENX Software Engineering, wd@denx.de.## See file CREDITS for list of people who contributed to this# project.## This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License as# published by the Free Software Foundation; either version 2 of# the License, or (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place, Suite 330, Boston,# MA 02111-1307 USA#include $(TOPDIR)/config.mkLIB := $(obj)libnet.aCOBJS-y += 3c589.oCOBJS-y += bcm570x.o bcm570x_autoneg.o 5701rls.oCOBJS-y += cs8900.oCOBJS-y += dc2114x.oCOBJS-y += dm9000x.oCOBJS-y += e1000.oCOBJS-y += eepro100.oCOBJS-y += enc28j60.oCOBJS-y += inca-ip_sw.oCOBJS-y += ks8695eth.oCOBJS-y += lan91c96.oCOBJS-y += macb.oCOBJS-y += mcffec.oCOBJS-y += natsemi.oCOBJS-y += ne2000.oCOBJS-y += netarm_eth.oCOBJS-y += netconsole.oCOBJS-y += ns7520_eth.oCOBJS-y += ns8382x.oCOBJS-y += ns9750_eth.oCOBJS-y += pcnet.oCOBJS-y += plb2800_eth.oCOBJS-y += rtl8019.oCOBJS-y += rtl8139.oCOBJS-y += rtl8169.oCOBJS-y += s3c4510b_eth.oCOBJS-y += smc9118.oCOBJS-y += smc91111.oCOBJS-y += smc_rv.oCOBJS-y += tigon3.oCOBJS-y += tsec.oCOBJS-y += tsi108_eth.oCOBJS-y += uli526x.oCOBJS := $(COBJS-y)SRCS := $(COBJS:.o=.c)OBJS := $(addprefix $(obj),$(COBJS))all: $(LIB)$(LIB): $(obj).depend $(OBJS) $(AR) $(ARFLAGS) $@ $(OBJS)########################################################################## defines $(obj).depend targetinclude $(SRCTREE)/rules.mksinclude $(obj).depend#########################################################################
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -