1*463ec1caSVladimir Zapolskiy# 2*463ec1caSVladimir Zapolskiy# Copyright (C) 2011 by Vladimir Zapolskiy <vz@mleia.com> 3*463ec1caSVladimir Zapolskiy# Copyright (C) 2008, Guennadi Liakhovetski <lg@denx.de> 4*463ec1caSVladimir Zapolskiy# 5*463ec1caSVladimir Zapolskiy# See file CREDITS for list of people who contributed to this 6*463ec1caSVladimir Zapolskiy# project. 7*463ec1caSVladimir Zapolskiy# 8*463ec1caSVladimir Zapolskiy# This program is free software; you can redistribute it and/or 9*463ec1caSVladimir Zapolskiy# modify it under the terms of the GNU General Public License as 10*463ec1caSVladimir Zapolskiy# published by the Free Software Foundation; either version 2 of 11*463ec1caSVladimir Zapolskiy# the License, or (at your option) any later version. 12*463ec1caSVladimir Zapolskiy# 13*463ec1caSVladimir Zapolskiy# This program is distributed in the hope that it will be useful, 14*463ec1caSVladimir Zapolskiy# but WITHOUT ANY WARRANTY; without even the implied warranty of 15*463ec1caSVladimir Zapolskiy# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*463ec1caSVladimir Zapolskiy# GNU General Public License for more details. 17*463ec1caSVladimir Zapolskiy# 18*463ec1caSVladimir Zapolskiy# You should have received a copy of the GNU General Public License 19*463ec1caSVladimir Zapolskiy# along with this program; if not, write to the Free Software 20*463ec1caSVladimir Zapolskiy# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 21*463ec1caSVladimir Zapolskiy# MA 02110-1301, USA. 22*463ec1caSVladimir Zapolskiy# 23*463ec1caSVladimir Zapolskiy 24*463ec1caSVladimir Zapolskiyinclude $(TOPDIR)/config.mk 25*463ec1caSVladimir Zapolskiy 26*463ec1caSVladimir ZapolskiyLIB = $(obj)lib$(BOARD).o 27*463ec1caSVladimir Zapolskiy 28*463ec1caSVladimir ZapolskiyCOBJS := devkit3250.o 29*463ec1caSVladimir Zapolskiy 30*463ec1caSVladimir ZapolskiySRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 31*463ec1caSVladimir ZapolskiyOBJS := $(addprefix $(obj),$(COBJS)) 32*463ec1caSVladimir ZapolskiySOBJS := $(addprefix $(obj),$(SOBJS)) 33*463ec1caSVladimir Zapolskiy 34*463ec1caSVladimir Zapolskiy$(LIB): $(obj).depend $(OBJS) $(SOBJS) 35*463ec1caSVladimir Zapolskiy $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 36*463ec1caSVladimir Zapolskiy 37*463ec1caSVladimir Zapolskiy######################################################################### 38*463ec1caSVladimir Zapolskiy 39*463ec1caSVladimir Zapolskiy# defines $(obj).depend target 40*463ec1caSVladimir Zapolskiyinclude $(SRCTREE)/rules.mk 41*463ec1caSVladimir Zapolskiy 42*463ec1caSVladimir Zapolskiysinclude $(obj).depend 43*463ec1caSVladimir Zapolskiy 44*463ec1caSVladimir Zapolskiy######################################################################### 45