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