1*0764c164SVlad Lungu# 2*0764c164SVlad Lungu# (C) Copyright 2003-2006 3*0764c164SVlad Lungu# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4*0764c164SVlad Lungu# 5*0764c164SVlad Lungu# See file CREDITS for list of people who contributed to this 6*0764c164SVlad Lungu# project. 7*0764c164SVlad Lungu# 8*0764c164SVlad Lungu# This program is free software; you can redistribute it and/or 9*0764c164SVlad Lungu# modify it under the terms of the GNU General Public License as 10*0764c164SVlad Lungu# published by the Free Software Foundation; either version 2 of 11*0764c164SVlad Lungu# the License, or (at your option) any later version. 12*0764c164SVlad Lungu# 13*0764c164SVlad Lungu# This program is distributed in the hope that it will be useful, 14*0764c164SVlad Lungu# but WITHOUT ANY WARRANTY; without even the implied warranty of 15*0764c164SVlad Lungu# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*0764c164SVlad Lungu# GNU General Public License for more details. 17*0764c164SVlad Lungu# 18*0764c164SVlad Lungu# You should have received a copy of the GNU General Public License 19*0764c164SVlad Lungu# along with this program; if not, write to the Free Software 20*0764c164SVlad Lungu# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21*0764c164SVlad Lungu# MA 02111-1307 USA 22*0764c164SVlad Lungu# 23*0764c164SVlad Lungu 24*0764c164SVlad Lunguinclude $(TOPDIR)/config.mk 25*0764c164SVlad Lungu 26*0764c164SVlad LunguLIB = $(obj)lib$(BOARD).a 27*0764c164SVlad Lungu 28*0764c164SVlad LunguCOBJS = $(BOARD).o flash.o 29*0764c164SVlad LunguSOBJS = lowlevel_init.o 30*0764c164SVlad Lungu 31*0764c164SVlad LunguSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 32*0764c164SVlad LunguOBJS := $(addprefix $(obj),$(COBJS)) 33*0764c164SVlad LunguSOBJS := $(addprefix $(obj),$(SOBJS)) 34*0764c164SVlad Lungu 35*0764c164SVlad Lungu$(LIB): $(OBJS) $(SOBJS) 36*0764c164SVlad Lungu $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) 37*0764c164SVlad Lungu 38*0764c164SVlad Lungu######################################################################### 39*0764c164SVlad Lungu 40*0764c164SVlad Lungu# defines $(obj).depend target 41*0764c164SVlad Lunguinclude $(SRCTREE)/rules.mk 42*0764c164SVlad Lungu 43*0764c164SVlad Lungusinclude $(obj).depend 44*0764c164SVlad Lungu 45*0764c164SVlad Lungu######################################################################### 46