xref: /openbmc/u-boot/board/omicron/calimain/Makefile (revision 3765b3e7)
1#
2# (C) Copyright 2000, 2001, 2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
6#
7# SPDX-License-Identifier:	GPL-2.0+
8#
9
10include $(TOPDIR)/config.mk
11
12LIB	= $(obj)lib$(BOARD).o
13
14COBJS   := $(BOARD).o
15
16SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
17OBJS	:= $(addprefix $(obj),$(COBJS))
18SOBJS	:= $(addprefix $(obj),$(SOBJS))
19
20$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
21	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
22
23#########################################################################
24# This is for $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################
30