2 # See file CREDITS for list of people who contributed to this
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.
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.
15 include $(TOPDIR)/config.mk
17 LIB = $(obj)lib$(SOC).o
19 SOBJS := lowlevel_init.o
20 COBJS := reset.o timer.o
22 SRCS := $(SOBJS:.o=.c) $(COBJS:.o=.c)
23 OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
25 all: $(obj).depend $(LIB)
28 $(call cmd_link_o_target, $(OBJS))
30 #########################################################################
32 # defines $(obj).depend target
33 include $(SRCTREE)/rules.mk
35 sinclude $(obj).depend
37 #########################################################################