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