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