xref: /openbmc/u-boot/board/armltd/vexpress/Makefile (revision b80e41ac)
1*b80e41acSMatt Waddel#
2*b80e41acSMatt Waddel# (C) Copyright 2000-2004
3*b80e41acSMatt Waddel# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*b80e41acSMatt Waddel#
5*b80e41acSMatt Waddel# See file CREDITS for list of people who contributed to this
6*b80e41acSMatt Waddel# project.
7*b80e41acSMatt Waddel#
8*b80e41acSMatt Waddel# This program is free software; you can redistribute it and/or
9*b80e41acSMatt Waddel# modify it under the terms of the GNU General Public License as
10*b80e41acSMatt Waddel# published by the Free Software Foundation; either version 2 of
11*b80e41acSMatt Waddel# the License, or (at your option) any later version.
12*b80e41acSMatt Waddel#
13*b80e41acSMatt Waddel# This program is distributed in the hope that it will be useful,
14*b80e41acSMatt Waddel# but WITHOUT ANY WARRANTY; without even the implied warranty of
15*b80e41acSMatt Waddel# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*b80e41acSMatt Waddel# GNU General Public License for more details.
17*b80e41acSMatt Waddel#
18*b80e41acSMatt Waddel# You should have received a copy of the GNU General Public License
19*b80e41acSMatt Waddel# along with this program; if not, write to the Free Software
20*b80e41acSMatt Waddel# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*b80e41acSMatt Waddel# MA 02111-1307 USA
22*b80e41acSMatt Waddel#
23*b80e41acSMatt Waddel
24*b80e41acSMatt Waddelinclude $(TOPDIR)/config.mk
25*b80e41acSMatt Waddel
26*b80e41acSMatt WaddelLIB	= $(obj)lib$(BOARD).a
27*b80e41acSMatt Waddel
28*b80e41acSMatt WaddelCOBJS	:= ca9x4_ct_vxp.o
29*b80e41acSMatt Waddel
30*b80e41acSMatt WaddelSRCS	:= $(COBJS:.o=.c)
31*b80e41acSMatt WaddelOBJS	:= $(addprefix $(obj),$(COBJS))
32*b80e41acSMatt Waddel
33*b80e41acSMatt Waddel$(LIB):	$(obj).depend $(OBJS)
34*b80e41acSMatt Waddel	$(AR) $(ARFLAGS) $@ $(OBJS)
35*b80e41acSMatt Waddel
36*b80e41acSMatt Waddelclean:
37*b80e41acSMatt Waddel	rm -f $(SOBJS) $(OBJS)
38*b80e41acSMatt Waddel
39*b80e41acSMatt Waddeldistclean:	clean
40*b80e41acSMatt Waddel	rm -f $(LIB) core *.bak $(obj).depend
41*b80e41acSMatt Waddel
42*b80e41acSMatt Waddel#########################################################################
43*b80e41acSMatt Waddel
44*b80e41acSMatt Waddel# defines $(obj).depend target
45*b80e41acSMatt Waddelinclude $(SRCTREE)/rules.mk
46*b80e41acSMatt Waddel
47*b80e41acSMatt Waddelsinclude $(obj).depend
48*b80e41acSMatt Waddel
49*b80e41acSMatt Waddel#########################################################################
50