184ad6884SPeter Tyser# 284ad6884SPeter Tyser# (C) Copyright 2000-2006 384ad6884SPeter Tyser# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 484ad6884SPeter Tyser# 584ad6884SPeter Tyser# (C) Copyright 2008 684ad6884SPeter Tyser# Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de> 784ad6884SPeter Tyser# 884ad6884SPeter Tyser# See file CREDITS for list of people who contributed to this 984ad6884SPeter Tyser# project. 1084ad6884SPeter Tyser# 1184ad6884SPeter Tyser# This program is free software; you can redistribute it and/or 1284ad6884SPeter Tyser# modify it under the terms of the GNU General Public License as 1384ad6884SPeter Tyser# published by the Free Software Foundation; either version 2 of 1484ad6884SPeter Tyser# the License, or (at your option) any later version. 1584ad6884SPeter Tyser# 1684ad6884SPeter Tyser# This program is distributed in the hope that it will be useful, 1784ad6884SPeter Tyser# but WITHOUT ANY WARRANTY; without even the implied warranty of 1884ad6884SPeter Tyser# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1984ad6884SPeter Tyser# GNU General Public License for more details. 2084ad6884SPeter Tyser# 2184ad6884SPeter Tyser# You should have received a copy of the GNU General Public License 2284ad6884SPeter Tyser# along with this program; if not, write to the Free Software 2384ad6884SPeter Tyser# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 2484ad6884SPeter Tyser# MA 02111-1307 USA 2584ad6884SPeter Tyser# 2684ad6884SPeter Tyser 2784ad6884SPeter Tyserinclude $(TOPDIR)/config.mk 2884ad6884SPeter Tyser 29*6d8962e8SSebastien CarlierLIB = $(obj)lib$(CPU).o 3084ad6884SPeter Tyser 3184ad6884SPeter TyserSTART = start.o 3284ad6884SPeter TyserCOBJS = cpu.o 3384ad6884SPeter Tyser 3484ad6884SPeter TyserSRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) 3584ad6884SPeter TyserOBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) 3684ad6884SPeter TyserSTART := $(addprefix $(obj),$(START)) 3784ad6884SPeter Tyser 3884ad6884SPeter Tyserall: $(obj).depend $(START) $(LIB) 3984ad6884SPeter Tyser 4084ad6884SPeter Tyser$(LIB): $(OBJS) 41*6d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 4284ad6884SPeter Tyser 4384ad6884SPeter Tyser######################################################################### 4484ad6884SPeter Tyser 4584ad6884SPeter Tyser# defines $(obj).depend target 4684ad6884SPeter Tyserinclude $(SRCTREE)/rules.mk 4784ad6884SPeter Tyser 4884ad6884SPeter Tysersinclude $(obj).depend 4984ad6884SPeter Tyser 5084ad6884SPeter Tyser######################################################################### 51