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 Tyser 24*84ad6884SPeter Tyserinclude $(TOPDIR)/config.mk 25*84ad6884SPeter Tyser 26*84ad6884SPeter TyserLIB = $(obj)lib$(SOC).a 27*84ad6884SPeter Tyser 28*84ad6884SPeter TyserCOBJS := reset.o \ 29*84ad6884SPeter Tyser timer.o 30*84ad6884SPeter TyserSOBJS := 31*84ad6884SPeter Tyser 32*84ad6884SPeter TyserSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 33*84ad6884SPeter TyserOBJS := $(addprefix $(obj),$(COBJS)) 34*84ad6884SPeter TyserSOBJS := $(addprefix $(obj),$(SOBJS)) 35*84ad6884SPeter Tyser 36*84ad6884SPeter Tyser$(LIB): $(obj).depend $(OBJS) $(SOBJS) 37*84ad6884SPeter Tyser $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) 38*84ad6884SPeter Tyser 39*84ad6884SPeter Tyserclean: 40*84ad6884SPeter Tyser rm -f $(SOBJS) $(OBJS) 41*84ad6884SPeter Tyser 42*84ad6884SPeter Tyserdistclean: clean 43*84ad6884SPeter Tyser rm -f $(LIB) core *.bak $(obj).depend 44*84ad6884SPeter Tyser 45*84ad6884SPeter Tyser######################################################################### 46*84ad6884SPeter Tyser 47*84ad6884SPeter Tyser# defines $(obj).depend target 48*84ad6884SPeter Tyserinclude $(SRCTREE)/rules.mk 49*84ad6884SPeter Tyser 50*84ad6884SPeter Tysersinclude $(obj).depend 51*84ad6884SPeter Tyser 52*84ad6884SPeter Tyser######################################################################### 53