xref: /openbmc/u-boot/arch/arm/cpu/arm946es/Makefile (revision 84ad6884)
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$(CPU).a
27*84ad6884SPeter Tyser
28*84ad6884SPeter TyserSTART	= start.o
29*84ad6884SPeter Tyser
30*84ad6884SPeter TyserCOBJS	= cpu.o
31*84ad6884SPeter Tyser
32*84ad6884SPeter TyserSRCS	:= $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
33*84ad6884SPeter TyserOBJS	:= $(addprefix $(obj),$(COBJS) $(SOBJS))
34*84ad6884SPeter TyserSTART	:= $(addprefix $(obj),$(START))
35*84ad6884SPeter Tyser
36*84ad6884SPeter Tyserall:	$(obj).depend $(START) $(LIB)
37*84ad6884SPeter Tyser
38*84ad6884SPeter Tyser$(LIB):	$(OBJS)
39*84ad6884SPeter Tyser	$(AR) $(ARFLAGS) $@ $(OBJS)
40*84ad6884SPeter Tyser
41*84ad6884SPeter Tyser#########################################################################
42*84ad6884SPeter Tyser
43*84ad6884SPeter Tyser# defines $(obj).depend target
44*84ad6884SPeter Tyserinclude $(SRCTREE)/rules.mk
45*84ad6884SPeter Tyser
46*84ad6884SPeter Tysersinclude $(obj).depend
47*84ad6884SPeter Tyser
48*84ad6884SPeter Tyser#########################################################################
49