blob: 62fb3779ed623e9273c0fdbc84e2521df601e108 [file] [log] [blame]
Nobuhiro Iwamatsu06d4c6d2012-06-21 14:55:07 +09001#
2# (C) Copyright 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
3# (C) Copyright 2012 Renesas Solutions Corp.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu06d4c6d2012-06-21 14:55:07 +09006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
12COBJS := kzm9g.o
13
14SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
15OBJS := $(addprefix $(obj),$(COBJS))
16SOBJS := $(addprefix $(obj),$(SOBJS))
17
18$(LIB): $(obj).depend $(OBJS) $(SOBJS)
19 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
20
21clean:
22 rm -f $(SOBJS) $(OBJS)
23
24distclean: clean
25 rm -f $(LIB) core *.bak $(obj) .depend
26
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################