122ee6473SSedji Gaouaou#
222ee6473SSedji Gaouaou# (C) Copyright 2003-2008
322ee6473SSedji Gaouaou# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
422ee6473SSedji Gaouaou#
522ee6473SSedji Gaouaou# (C) Copyright 2008
622ee6473SSedji Gaouaou# Stelian Pop <stelian.pop@leadtechdesign.com>
722ee6473SSedji Gaouaou# Lead Tech Design <www.leadtechdesign.com>
822ee6473SSedji Gaouaou#
922ee6473SSedji Gaouaou# See file CREDITS for list of people who contributed to this
1022ee6473SSedji Gaouaou# project.
1122ee6473SSedji Gaouaou#
1222ee6473SSedji Gaouaou# This program is free software; you can redistribute it and/or
1322ee6473SSedji Gaouaou# modify it under the terms of the GNU General Public License as
1422ee6473SSedji Gaouaou# published by the Free Software Foundation; either version 2 of
1522ee6473SSedji Gaouaou# the License, or (at your option) any later version.
1622ee6473SSedji Gaouaou#
1722ee6473SSedji Gaouaou# This program is distributed in the hope that it will be useful,
1822ee6473SSedji Gaouaou# but WITHOUT ANY WARRANTY; without even the implied warranty of
1922ee6473SSedji Gaouaou# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2022ee6473SSedji Gaouaou# GNU General Public License for more details.
2122ee6473SSedji Gaouaou#
2222ee6473SSedji Gaouaou# You should have received a copy of the GNU General Public License
2322ee6473SSedji Gaouaou# along with this program; if not, write to the Free Software
2422ee6473SSedji Gaouaou# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
2522ee6473SSedji Gaouaou# MA 02111-1307 USA
2622ee6473SSedji Gaouaou#
2722ee6473SSedji Gaouaou
2822ee6473SSedji Gaouaouinclude $(TOPDIR)/config.mk
2922ee6473SSedji Gaouaou
30*6d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
3122ee6473SSedji Gaouaou
3222ee6473SSedji GaouaouCOBJS-y += at91sam9m10g45ek.o
3322ee6473SSedji GaouaouCOBJS-y += led.o
3422ee6473SSedji Gaouaou
3522ee6473SSedji GaouaouSRCS	:= $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
3622ee6473SSedji GaouaouOBJS	:= $(addprefix $(obj),$(COBJS-y))
3722ee6473SSedji GaouaouSOBJS	:= $(addprefix $(obj),$(SOBJS))
3822ee6473SSedji Gaouaou
3922ee6473SSedji Gaouaou$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
40*6d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
4122ee6473SSedji Gaouaou
4222ee6473SSedji Gaouaouclean:
4322ee6473SSedji Gaouaou	rm -f $(SOBJS) $(OBJS)
4422ee6473SSedji Gaouaou
4522ee6473SSedji Gaouaoudistclean:	clean
4622ee6473SSedji Gaouaou	rm -f $(LIB) core *.bak $(obj).depend
4722ee6473SSedji Gaouaou
4822ee6473SSedji Gaouaou#########################################################################
4922ee6473SSedji Gaouaou
5022ee6473SSedji Gaouaou# defines $(obj).depend target
5122ee6473SSedji Gaouaouinclude $(SRCTREE)/rules.mk
5222ee6473SSedji Gaouaou
5322ee6473SSedji Gaouaousinclude $(obj).depend
5422ee6473SSedji Gaouaou
5522ee6473SSedji Gaouaou#########################################################################
56