13e76d62aSSteve Sakoman# 23e76d62aSSteve Sakoman# (C) Copyright 2000, 2001, 2002 33e76d62aSSteve Sakoman# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 43e76d62aSSteve Sakoman# 53e76d62aSSteve Sakoman# See file CREDITS for list of people who contributed to this 63e76d62aSSteve Sakoman# project. 73e76d62aSSteve Sakoman# 83e76d62aSSteve Sakoman# This program is free software; you can redistribute it and/or 93e76d62aSSteve Sakoman# modify it under the terms of the GNU General Public License as 103e76d62aSSteve Sakoman# published by the Free Software Foundation; either version 2 of 113e76d62aSSteve Sakoman# the License, or (at your option) any later version. 123e76d62aSSteve Sakoman# 133e76d62aSSteve Sakoman# This program is distributed in the hope that it will be useful, 143e76d62aSSteve Sakoman# but WITHOUT ANY WARRANTY; without even the implied warranty of 153e76d62aSSteve Sakoman# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 163e76d62aSSteve Sakoman# GNU General Public License for more details. 173e76d62aSSteve Sakoman# 183e76d62aSSteve Sakoman# You should have received a copy of the GNU General Public License 193e76d62aSSteve Sakoman# along with this program; if not, write to the Free Software 203e76d62aSSteve Sakoman# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 213e76d62aSSteve Sakoman# MA 02111-1307 USA 223e76d62aSSteve Sakoman# 233e76d62aSSteve Sakoman 243e76d62aSSteve Sakomaninclude $(TOPDIR)/config.mk 253e76d62aSSteve Sakoman 266d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 273e76d62aSSteve Sakoman 28*3e664f6dSBalaji T KCOBJS := sdp.o cmd_bat.o 293e76d62aSSteve Sakoman 303e76d62aSSteve SakomanSRCS := $(COBJS:.o=.c) 313e76d62aSSteve SakomanOBJS := $(addprefix $(obj),$(COBJS)) 323e76d62aSSteve Sakoman 333e76d62aSSteve Sakoman$(LIB): $(obj).depend $(OBJS) 346d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 353e76d62aSSteve Sakoman 363e76d62aSSteve Sakomanclean: 373e76d62aSSteve Sakoman rm -f $(OBJS) 383e76d62aSSteve Sakoman 393e76d62aSSteve Sakomandistclean: clean 403e76d62aSSteve Sakoman rm -f $(LIB) core *.bak $(obj).depend 413e76d62aSSteve Sakoman 423e76d62aSSteve Sakoman######################################################################### 433e76d62aSSteve Sakoman 443e76d62aSSteve Sakoman# defines $(obj).depend target 453e76d62aSSteve Sakomaninclude $(SRCTREE)/rules.mk 463e76d62aSSteve Sakoman 473e76d62aSSteve Sakomansinclude $(obj).depend 483e76d62aSSteve Sakoman 493e76d62aSSteve Sakoman######################################################################### 50