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