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