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