132949232SIlko Iliev# 232949232SIlko Iliev# (C) Copyright 2003-2008 332949232SIlko Iliev# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 432949232SIlko Iliev# 532949232SIlko Iliev# (C) Copyright 2008 632949232SIlko Iliev# Stelian Pop <stelian.pop@leadtechdesign.com> 732949232SIlko Iliev# Lead Tech Design <www.leadtechdesign.com> 832949232SIlko Iliev# Ilko Iliev <www.ronetix.at> 932949232SIlko Iliev# 1032949232SIlko Iliev# See file CREDITS for list of people who contributed to this 1132949232SIlko Iliev# project. 1232949232SIlko Iliev# 1332949232SIlko Iliev# This program is free software; you can redistribute it and/or 1432949232SIlko Iliev# modify it under the terms of the GNU General Public License as 1532949232SIlko Iliev# published by the Free Software Foundation; either version 2 of 1632949232SIlko Iliev# the License, or (at your option) any later version. 1732949232SIlko Iliev# 1832949232SIlko Iliev# This program is distributed in the hope that it will be useful, 1932949232SIlko Iliev# but WITHOUT ANY WARRANTY; without even the implied warranty of 2032949232SIlko Iliev# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2132949232SIlko Iliev# GNU General Public License for more details. 2232949232SIlko Iliev# 2332949232SIlko Iliev# You should have received a copy of the GNU General Public License 2432949232SIlko Iliev# along with this program; if not, write to the Free Software 2532949232SIlko Iliev# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 2632949232SIlko Iliev# MA 02111-1307 USA 2732949232SIlko Iliev# 2832949232SIlko Iliev 2932949232SIlko Ilievinclude $(TOPDIR)/config.mk 3032949232SIlko Iliev 31*6d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 3232949232SIlko Iliev 3332949232SIlko IlievCOBJS-y += $(BOARD).o 3432949232SIlko IlievCOBJS-y += led.o 3532949232SIlko IlievCOBJS-$(CONFIG_HAS_DATAFLASH) += partition.o 3632949232SIlko Iliev 3732949232SIlko IlievSRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) 3832949232SIlko IlievOBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y)) 3932949232SIlko IlievSOBJS := $(addprefix $(obj),$(SOBJS-y)) 4032949232SIlko Iliev 4132949232SIlko Iliev$(LIB): $(obj).depend $(OBJS) $(SOBJS) 42*6d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 4332949232SIlko Iliev 4432949232SIlko Ilievclean: 4532949232SIlko Iliev rm -f $(SOBJS) $(OBJS) 4632949232SIlko Iliev 4732949232SIlko Ilievdistclean: clean 4832949232SIlko Iliev rm -f $(LIB) core *.bak $(obj).depend 4932949232SIlko Iliev 5032949232SIlko Iliev######################################################################### 5132949232SIlko Iliev 5232949232SIlko Iliev# defines $(obj).depend target 5332949232SIlko Ilievinclude $(SRCTREE)/rules.mk 5432949232SIlko Iliev 5532949232SIlko Ilievsinclude $(obj).depend 5632949232SIlko Iliev 5732949232SIlko Iliev######################################################################### 58