13313e0e2SMark Jonas# 23313e0e2SMark Jonas# Copyright (C) 2007 33313e0e2SMark Jonas# Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> 43313e0e2SMark Jonas# 53313e0e2SMark Jonas# Copyright (C) 2007 63313e0e2SMark Jonas# Nobuhiro Iwamatsu <iwamatsu@nigauri.org> 73313e0e2SMark Jonas# 83313e0e2SMark Jonas# Copyright (C) 2007 93313e0e2SMark Jonas# Kenati Technologies, Inc. 103313e0e2SMark Jonas# 113313e0e2SMark Jonas# (C) Copyright 2008 123313e0e2SMark Jonas# Mark Jonas <mark.jonas@de.bosch.com> 133313e0e2SMark Jonas# 143313e0e2SMark Jonas# board/mpr2/Makefile 153313e0e2SMark Jonas# 163313e0e2SMark Jonas# This program is free software; you can redistribute it and/or 173313e0e2SMark Jonas# modify it under the terms of the GNU General Public License as 183313e0e2SMark Jonas# published by the Free Software Foundation; either version 2 of 193313e0e2SMark Jonas# the License, or (at your option) any later version. 203313e0e2SMark Jonas# 213313e0e2SMark Jonas# This program is distributed in the hope that it will be useful, 223313e0e2SMark Jonas# but WITHOUT ANY WARRANTY; without even the implied warranty of 233313e0e2SMark Jonas# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 243313e0e2SMark Jonas# GNU General Public License for more details. 253313e0e2SMark Jonas# 263313e0e2SMark Jonas# You should have received a copy of the GNU General Public License 273313e0e2SMark Jonas# along with this program; if not, write to the Free Software 283313e0e2SMark Jonas# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 293313e0e2SMark Jonas# MA 02111-1307 USA 303313e0e2SMark Jonas 313313e0e2SMark Jonasinclude $(TOPDIR)/config.mk 323313e0e2SMark Jonas 33*a30cc5a3SWolfgang DenkLIB = $(obj)lib$(BOARD).a 343313e0e2SMark Jonas 353313e0e2SMark JonasOBJS := mpr2.o 363313e0e2SMark JonasSOBJS := lowlevel_init.o 373313e0e2SMark Jonas 38*a30cc5a3SWolfgang DenkSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 39*a30cc5a3SWolfgang DenkOBJS := $(addprefix $(obj),$(COBJS)) 40*a30cc5a3SWolfgang DenkSOBJS := $(addprefix $(obj),$(SOBJS)) 41*a30cc5a3SWolfgang Denk 423313e0e2SMark Jonas$(LIB): $(OBJS) $(SOBJS) 43461fa68dSWolfgang Denk $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) 443313e0e2SMark Jonas 453313e0e2SMark Jonasclean: 463313e0e2SMark Jonas rm -f $(SOBJS) $(OBJS) 473313e0e2SMark Jonas 483313e0e2SMark Jonasdistclean: clean 493313e0e2SMark Jonas rm -f $(LIB) core *.bak .depend 503313e0e2SMark Jonas 513313e0e2SMark Jonas######################################################################### 523313e0e2SMark Jonas 53*a30cc5a3SWolfgang Denk# defines $(obj).depend target 54*a30cc5a3SWolfgang Denkinclude $(SRCTREE)/rules.mk 553313e0e2SMark Jonas 56*a30cc5a3SWolfgang Denksinclude $(obj).depend 573313e0e2SMark Jonas 583313e0e2SMark Jonas######################################################################### 59