xref: /openbmc/u-boot/board/nvidia/harmony/Makefile (revision efc05ae1)
1*efc05ae1STom Warren#
2*efc05ae1STom Warren#  (C) Copyright 2010,2011
3*efc05ae1STom Warren#  NVIDIA Corporation <www.nvidia.com>
4*efc05ae1STom Warren#
5*efc05ae1STom Warren#
6*efc05ae1STom Warren#  See file CREDITS for list of people who contributed to this
7*efc05ae1STom Warren#  project.
8*efc05ae1STom Warren#
9*efc05ae1STom Warren#  This program is free software; you can redistribute it and/or
10*efc05ae1STom Warren#  modify it under the terms of the GNU General Public License as
11*efc05ae1STom Warren#  published by the Free Software Foundation; either version 2 of
12*efc05ae1STom Warren#  the License, or (at your option) any later version.
13*efc05ae1STom Warren#
14*efc05ae1STom Warren#  This program is distributed in the hope that it will be useful,
15*efc05ae1STom Warren#  but WITHOUT ANY WARRANTY; without even the implied warranty of
16*efc05ae1STom Warren#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*efc05ae1STom Warren#  GNU General Public License for more details.
18*efc05ae1STom Warren#
19*efc05ae1STom Warren#  You should have received a copy of the GNU General Public License
20*efc05ae1STom Warren#  along with this program; if not, write to the Free Software
21*efc05ae1STom Warren#  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22*efc05ae1STom Warren#  MA 02111-1307 USA
23*efc05ae1STom Warren#
24*efc05ae1STom Warren
25*efc05ae1STom Warreninclude $(TOPDIR)/config.mk
26*efc05ae1STom Warren
27*efc05ae1STom WarrenLIB	= $(obj)lib$(BOARD).o
28*efc05ae1STom Warren
29*efc05ae1STom WarrenCOBJS	+= ../common/board.o
30*efc05ae1STom Warren
31*efc05ae1STom WarrenSRCS	:= $(COBJS:.o=.c)
32*efc05ae1STom WarrenOBJS	:= $(addprefix $(obj),$(COBJS))
33*efc05ae1STom Warren
34*efc05ae1STom Warren$(LIB):	$(obj).depend $(OBJS)
35*efc05ae1STom Warren	$(AR) $(ARFLAGS) $@ $(OBJS)
36*efc05ae1STom Warren
37*efc05ae1STom Warrenclean:
38*efc05ae1STom Warren	rm -f $(OBJS)
39*efc05ae1STom Warren
40*efc05ae1STom Warrendistclean:	clean
41*efc05ae1STom Warren	rm -f $(LIB) core *.bak $(obj).depend
42*efc05ae1STom Warren
43*efc05ae1STom Warren#########################################################################
44*efc05ae1STom Warren
45*efc05ae1STom Warren# defines $(obj).depend target
46*efc05ae1STom Warreninclude $(SRCTREE)/rules.mk
47*efc05ae1STom Warren
48*efc05ae1STom Warrensinclude $(obj).depend
49*efc05ae1STom Warren
50*efc05ae1STom Warren#########################################################################
51