1*66b796a5SThierry Reding# 2*66b796a5SThierry Reding# (C) Copyright 2010,2011 3*66b796a5SThierry Reding# NVIDIA Corporation <www.nvidia.com> 4*66b796a5SThierry Reding# (C) Copyright 2011,2012 5*66b796a5SThierry Reding# Avionic Design GmbH <www.avionic-design.de> 6*66b796a5SThierry Reding# 7*66b796a5SThierry Reding# See file CREDITS for list of people who contributed to this 8*66b796a5SThierry Reding# project. 9*66b796a5SThierry Reding# 10*66b796a5SThierry Reding# This program is free software; you can redistribute it and/or 11*66b796a5SThierry Reding# modify it under the terms of the GNU General Public License as 12*66b796a5SThierry Reding# published by the Free Software Foundation; either version 2 of 13*66b796a5SThierry Reding# the License, or (at your option) any later version. 14*66b796a5SThierry Reding# 15*66b796a5SThierry Reding# This program is distributed in the hope that it will be useful, 16*66b796a5SThierry Reding# but WITHOUT ANY WARRANTY; without even the implied warranty of 17*66b796a5SThierry Reding# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*66b796a5SThierry Reding# GNU General Public License for more details. 19*66b796a5SThierry Reding# 20*66b796a5SThierry Reding# You should have received a copy of the GNU General Public License 21*66b796a5SThierry Reding# along with this program; if not, write to the Free Software 22*66b796a5SThierry Reding# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 23*66b796a5SThierry Reding# MA 02111-1307 USA 24*66b796a5SThierry Reding# 25*66b796a5SThierry Reding 26*66b796a5SThierry Redinginclude $(TOPDIR)/config.mk 27*66b796a5SThierry Reding 28*66b796a5SThierry Reding$(shell mkdir -p $(obj)../common $(obj)../../nvidia/common) 29*66b796a5SThierry Reding 30*66b796a5SThierry RedingLIB = $(obj)lib$(BOARD).o 31*66b796a5SThierry Reding 32*66b796a5SThierry RedingCOBJS := ../../nvidia/common/board.o 33*66b796a5SThierry RedingCOBJS += ../common/tamonten.o 34*66b796a5SThierry Reding 35*66b796a5SThierry RedingSRCS := $(COBJS:.o=.c) 36*66b796a5SThierry RedingOBJS := $(addprefix $(obj),$(COBJS)) 37*66b796a5SThierry Reding 38*66b796a5SThierry Reding$(LIB): $(obj).depend $(OBJS) 39*66b796a5SThierry Reding $(call cmd_link_o_target, $(OBJS)) 40*66b796a5SThierry Reding 41*66b796a5SThierry Reding######################################################################### 42*66b796a5SThierry Reding 43*66b796a5SThierry Reding# defines $(obj).depend target 44*66b796a5SThierry Redinginclude $(SRCTREE)/rules.mk 45*66b796a5SThierry Reding 46*66b796a5SThierry Redingsinclude $(obj).depend 47*66b796a5SThierry Reding 48*66b796a5SThierry Reding######################################################################### 49