14026aca6SThierry Reding# 24026aca6SThierry Reding# (C) Copyright 2010,2011 34026aca6SThierry Reding# NVIDIA Corporation <www.nvidia.com> 4*ed900c55SThierry Reding# (C) Copyright 2011,2012 54026aca6SThierry Reding# Avionic Design GmbH <www.avionic-design.de> 64026aca6SThierry Reding# 74026aca6SThierry Reding# See file CREDITS for list of people who contributed to this 84026aca6SThierry Reding# project. 94026aca6SThierry Reding# 104026aca6SThierry Reding# This program is free software; you can redistribute it and/or 114026aca6SThierry Reding# modify it under the terms of the GNU General Public License as 124026aca6SThierry Reding# published by the Free Software Foundation; either version 2 of 134026aca6SThierry Reding# the License, or (at your option) any later version. 144026aca6SThierry Reding# 154026aca6SThierry Reding# This program is distributed in the hope that it will be useful, 164026aca6SThierry Reding# but WITHOUT ANY WARRANTY; without even the implied warranty of 174026aca6SThierry Reding# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 184026aca6SThierry Reding# GNU General Public License for more details. 194026aca6SThierry Reding# 204026aca6SThierry Reding# You should have received a copy of the GNU General Public License 214026aca6SThierry Reding# along with this program; if not, write to the Free Software 224026aca6SThierry Reding# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 234026aca6SThierry Reding# MA 02111-1307 USA 244026aca6SThierry Reding# 254026aca6SThierry Reding 264026aca6SThierry Redinginclude $(TOPDIR)/config.mk 274026aca6SThierry Reding 284026aca6SThierry Redingifneq ($(OBJTREE),$(SRCTREE)) 29*ed900c55SThierry Reding$(shell mkdir -p $(obj)../common $(obj)../../nvidia/common) 304026aca6SThierry Redingendif 314026aca6SThierry Reding 324026aca6SThierry RedingLIB = $(obj)lib$(BOARD).o 334026aca6SThierry Reding 34*ed900c55SThierry RedingCOBJS := ../../nvidia/common/board.o 354026aca6SThierry RedingCOBJS += ../common/tamonten.o 364026aca6SThierry Reding 374026aca6SThierry RedingSRCS := $(COBJS:.o=.c) 384026aca6SThierry RedingOBJS := $(addprefix $(obj),$(COBJS)) 394026aca6SThierry Reding 404026aca6SThierry Reding$(LIB): $(obj).depend $(OBJS) 414026aca6SThierry Reding $(call cmd_link_o_target, $(OBJS)) 424026aca6SThierry Reding 434026aca6SThierry Reding######################################################################### 444026aca6SThierry Reding 454026aca6SThierry Reding# defines $(obj).depend target 464026aca6SThierry Redinginclude $(SRCTREE)/rules.mk 474026aca6SThierry Reding 484026aca6SThierry Redingsinclude $(obj).depend 494026aca6SThierry Reding 504026aca6SThierry Reding######################################################################### 51