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