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