2 # Copyright (C) 2005-2006 Atmel Corporation
4 # SPDX-License-Identifier: GPL-2.0+
7 include $(TOPDIR)/config.mk
9 LIB := $(obj)lib$(SOC).o
11 COBJS := portmux.o clk.o mmu.o
12 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
13 OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
15 all: $(obj).depend $(LIB)
18 $(call cmd_link_o_target, $^)
20 #########################################################################
22 # defines $(obj).depend target
23 include $(SRCTREE)/rules.mk
25 sinclude $(obj).depend
27 #########################################################################