1*915162daSSrinath# 2*915162daSSrinath# Author: Srinath R <srinath@mistralsolutions.com> 3*915162daSSrinath# 4*915162daSSrinath# Based on logicpd/am3517evm/Makefile 5*915162daSSrinath# 6*915162daSSrinath# Copyright (C) 2011 Mistral Solutions Pvt Ltd 7*915162daSSrinath# 8*915162daSSrinath# This program is free software; you can redistribute it and/or modify 9*915162daSSrinath# it under the terms of the GNU General Public License as published by 10*915162daSSrinath# the Free Software Foundation; either version 2 of the License, or 11*915162daSSrinath# (at your option) any later version. 12*915162daSSrinath# 13*915162daSSrinath# This program is distributed in the hope that it will be useful, 14*915162daSSrinath# but WITHOUT ANY WARRANTY; without even the implied warranty of 15*915162daSSrinath# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*915162daSSrinath# GNU General Public License for more details. 17*915162daSSrinath# 18*915162daSSrinath# You should have received a copy of the GNU General Public License 19*915162daSSrinath# along with this program; if not, write to the Free Software 20*915162daSSrinath# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 21*915162daSSrinath# 22*915162daSSrinath 23*915162daSSrinathinclude $(TOPDIR)/config.mk 24*915162daSSrinath 25*915162daSSrinathLIB = $(obj)lib$(BOARD).o 26*915162daSSrinath 27*915162daSSrinathCOBJS := am3517crane.o 28*915162daSSrinath 29*915162daSSrinathSRCS := $(COBJS:.o=.c) 30*915162daSSrinathOBJS := $(addprefix $(obj),$(COBJS)) 31*915162daSSrinath 32*915162daSSrinath$(LIB): $(obj).depend $(OBJS) 33*915162daSSrinath $(call cmd_link_o_target, $(OBJS)) 34*915162daSSrinath 35*915162daSSrinathclean: 36*915162daSSrinath rm -f $(OBJS) 37*915162daSSrinath 38*915162daSSrinathdistclean: clean 39*915162daSSrinath rm -f $(LIB) core *.bak $(obj).depend 40*915162daSSrinath 41*915162daSSrinath######################################################################### 42*915162daSSrinath 43*915162daSSrinath# defines $(obj).depend target 44*915162daSSrinathinclude $(SRCTREE)/rules.mk 45*915162daSSrinath 46*915162daSSrinathsinclude $(obj).depend 47