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