1*56df091dSTsiChung Liew# 2*56df091dSTsiChung Liew# (C) Copyright 2000-2006 3*56df091dSTsiChung Liew# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4*56df091dSTsiChung Liew# 5*56df091dSTsiChung Liew# See file CREDITS for list of people who contributed to this 6*56df091dSTsiChung Liew# project. 7*56df091dSTsiChung Liew# 8*56df091dSTsiChung Liew# This program is free software; you can redistribute it and/or 9*56df091dSTsiChung Liew# modify it under the terms of the GNU General Public License as 10*56df091dSTsiChung Liew# published by the Free Software Foundation; either version 2 of 11*56df091dSTsiChung Liew# the License, or (at your option) any later version. 12*56df091dSTsiChung Liew# 13*56df091dSTsiChung Liew# This program is distributed in the hope that it will be useful, 14*56df091dSTsiChung Liew# but WITHOUT ANY WARRANTY; without even the implied warranty of 15*56df091dSTsiChung Liew# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*56df091dSTsiChung Liew# GNU General Public License for more details. 17*56df091dSTsiChung Liew# 18*56df091dSTsiChung Liew# You should have received a copy of the GNU General Public License 19*56df091dSTsiChung Liew# along with this program; if not, write to the Free Software 20*56df091dSTsiChung Liew# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21*56df091dSTsiChung Liew# MA 02111-1307 USA 22*56df091dSTsiChung Liew# 23*56df091dSTsiChung Liew 24*56df091dSTsiChung Liewinclude $(TOPDIR)/config.mk 25*56df091dSTsiChung Liew 26*56df091dSTsiChung LiewLIB = $(obj)lib$(BOARD).a 27*56df091dSTsiChung Liew 28*56df091dSTsiChung LiewCOBJS = $(BOARD).o flash.o mii.o 29*56df091dSTsiChung Liew 30*56df091dSTsiChung LiewSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 31*56df091dSTsiChung LiewOBJS := $(addprefix $(obj),$(COBJS)) 32*56df091dSTsiChung LiewSOBJS := $(addprefix $(obj),$(SOBJS)) 33*56df091dSTsiChung Liew 34*56df091dSTsiChung Liew$(LIB): $(obj).depend $(OBJS) 35*56df091dSTsiChung Liew $(AR) $(ARFLAGS) $@ $(OBJS) 36*56df091dSTsiChung Liew 37*56df091dSTsiChung Liew######################################################################### 38*56df091dSTsiChung Liew 39*56df091dSTsiChung Liew# defines $(obj).depend target 40*56df091dSTsiChung Liewinclude $(SRCTREE)/rules.mk 41*56df091dSTsiChung Liew 42*56df091dSTsiChung Liewsinclude $(obj).depend 43*56df091dSTsiChung Liew 44*56df091dSTsiChung Liew######################################################################### 45