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