blob: 9d0c377c1b0c19b9933372b7d9cd5ced4cb7f888 [file] [log] [blame]
Stephen Warren0d04f342012-08-05 16:07:22 +00001#
2# See file CREDITS for list of people who contributed to this
3# project.
4#
5# This program is free software; you can redistribute it and/or
6# modify it under the terms of the GNU General Public License
7# version 2 as published by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful, but
10# WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14
15include $(TOPDIR)/config.mk
16
17LIB = $(obj)lib$(BOARD).o
18
19COBJS := $(BOARD).o
20
21SRCS := $(COBJS:.o=.c)
22OBJS := $(addprefix $(obj),$(COBJS))
23
24$(LIB): $(obj).depend $(OBJS)
25 $(call cmd_link_o_target, $(OBJS))
26
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################