2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # Copyright (C) 2007,2008 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6 # Copyright (C) 2008 Renesas Solutions Corp.
8 # SPDX-License-Identifier: GPL-2.0+
11 include $(TOPDIR)/config.mk
13 LIB = $(obj)lib$(CPU).o
16 COBJS = cpu.o interrupts.o watchdog.o
18 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
19 OBJS := $(addprefix $(obj),$(COBJS))
20 SOBJS := $(addprefix $(obj),$(SOBJS))
24 $(LIB): $(OBJS) $(SOBJS)
25 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
27 #########################################################################
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
32 sinclude $(obj).depend
34 #########################################################################