1fea25720SGraeme Russ# 2fea25720SGraeme Russ# (C) Copyright 2006 3fea25720SGraeme Russ# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4fea25720SGraeme Russ# 5fea25720SGraeme Russ# (C) Copyright 2002 6*fa82f871SAlbert ARIBAUD# Daniel Engström, Omicron Ceti AB, daniel@omicron.se. 7fea25720SGraeme Russ# 8fea25720SGraeme Russ# See file CREDITS for list of people who contributed to this 9fea25720SGraeme Russ# project. 10fea25720SGraeme Russ# 11fea25720SGraeme Russ# This program is free software; you can redistribute it and/or 12fea25720SGraeme Russ# modify it under the terms of the GNU General Public License as 13fea25720SGraeme Russ# published by the Free Software Foundation; either version 2 of 14fea25720SGraeme Russ# the License, or (at your option) any later version. 15fea25720SGraeme Russ# 16fea25720SGraeme Russ# This program is distributed in the hope that it will be useful, 17fea25720SGraeme Russ# but WITHOUT ANY WARRANTY; without even the implied warranty of 18fea25720SGraeme Russ# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19fea25720SGraeme Russ# GNU General Public License for more details. 20fea25720SGraeme Russ# 21fea25720SGraeme Russ# You should have received a copy of the GNU General Public License 22fea25720SGraeme Russ# along with this program; if not, write to the Free Software 23fea25720SGraeme Russ# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 24fea25720SGraeme Russ# MA 02111-1307 USA 25fea25720SGraeme Russ# 26fea25720SGraeme Russ 27fea25720SGraeme Russinclude $(TOPDIR)/config.mk 28fea25720SGraeme Russ 29fea25720SGraeme RussLIB = $(obj)lib$(CPU).o 30fea25720SGraeme Russ 31fea25720SGraeme RussSTART = start.o start16.o resetvec.o 32fea25720SGraeme RussCOBJS = interrupts.o cpu.o 33fea25720SGraeme Russ 34fea25720SGraeme RussSRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) 35fea25720SGraeme RussOBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) 36fea25720SGraeme RussSTART := $(addprefix $(obj),$(START)) 37fea25720SGraeme Russ 38fea25720SGraeme Russall: $(obj).depend $(START) $(LIB) 39fea25720SGraeme Russ 40fea25720SGraeme Russ$(LIB): $(OBJS) 41fea25720SGraeme Russ $(call cmd_link_o_target, $(OBJS)) 42fea25720SGraeme Russ 43fea25720SGraeme Russ######################################################################### 44fea25720SGraeme Russ 45fea25720SGraeme Russ# defines $(obj).depend target 46fea25720SGraeme Russinclude $(SRCTREE)/rules.mk 47fea25720SGraeme Russ 48fea25720SGraeme Russsinclude $(obj).depend 49fea25720SGraeme Russ 50fea25720SGraeme Russ######################################################################### 51