xref: /openbmc/u-boot/board/wandboard/Makefile (revision 68fbc0e6)
1#
2# (C) Copyright 2013 Freescale Semiconductor, Inc.
3#
4# This program is free software; you can redistribute it and/or
5# modify it under the terms of the GNU General Public License as
6# published by the Free Software Foundation; either version 2 of
7# the License, or (at your option) any later version.
8#
9
10include $(TOPDIR)/config.mk
11
12LIB    = $(obj)lib$(BOARD).o
13
14COBJS  := wandboard.o
15
16SRCS   := $(COBJS:.o=.c)
17OBJS   := $(addprefix $(obj),$(COBJS))
18
19$(LIB):        $(obj).depend $(OBJS)
20	$(call cmd_link_o_target, $(OBJS))
21
22#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################
30