]>
git.ipfire.org Git - people/ms/u-boot.git/blob - board/earthlcd/favr-32-ezkit/Makefile
2 # (C) Copyright 2001-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # Copyright (C) 2008 Atmel Corporation
7 # See file CREDITS for list of people who contributed to this project.
9 # This program is free software; you can redistribute it and/or modify it under
10 # the terms of the GNU General Public License as published by the Free Software
11 # Foundation; either version 2 of the License, or (at your option) any later
14 # This program is distributed in the hope that it will be useful, but WITHOUT
15 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19 # You should have received a copy of the GNU General Public License along with
20 # this program; if not, write to the Free Software Foundation, Inc., 59 Temple
21 # Place, Suite 330, Boston, MA 02111-1307 USA
23 include $(TOPDIR
)/config.mk
25 LIB
:= $(obj
)lib
$(BOARD
).a
27 COBJS
:= $(BOARD
).o flash.o
29 SRCS
:= $(SOBJS
:.o
=.S
) $(COBJS
:.o
=.c
)
30 OBJS
:= $(addprefix $(obj
),$(SOBJS
) $(COBJS
))
32 $(LIB
): $(obj
).depend
$(OBJS
)
33 $(AR
) $(ARFLAGS
) $@
$(OBJS
)
35 #########################################################################
37 # defines $(obj).depend target
38 include $(SRCTREE
)/rules.mk
40 sinclude
$(obj
).depend
42 #########################################################################