xref: /openbmc/u-boot/board/samsung/trats2/Makefile (revision 4d6c9671)
1*4d6c9671SPiotr Wilczek#
2*4d6c9671SPiotr Wilczek# Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
3*4d6c9671SPiotr Wilczek# Sanghee Kim <sh0130.kim@samsung.com>
4*4d6c9671SPiotr Wilczek#
5*4d6c9671SPiotr Wilczek# SPDX-License-Identifier:	GPL-2.0+
6*4d6c9671SPiotr Wilczek#
7*4d6c9671SPiotr Wilczek
8*4d6c9671SPiotr Wilczekinclude $(TOPDIR)/config.mk
9*4d6c9671SPiotr Wilczek
10*4d6c9671SPiotr WilczekLIB	= $(obj)lib$(BOARD).o
11*4d6c9671SPiotr Wilczek
12*4d6c9671SPiotr WilczekCOBJS-y	:= trats2.o
13*4d6c9671SPiotr Wilczek
14*4d6c9671SPiotr WilczekSRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
15*4d6c9671SPiotr WilczekOBJS	:= $(addprefix $(obj),$(COBJS-y))
16*4d6c9671SPiotr Wilczek
17*4d6c9671SPiotr Wilczek
18*4d6c9671SPiotr Wilczek$(LIB):	$(obj).depend $(OBJS)
19*4d6c9671SPiotr Wilczek	$(call cmd_link_o_target, $(OBJS))
20*4d6c9671SPiotr Wilczek
21*4d6c9671SPiotr Wilczekclean:
22*4d6c9671SPiotr Wilczek	rm -f $(OBJS)
23*4d6c9671SPiotr Wilczek
24*4d6c9671SPiotr Wilczekdistclean:	clean
25*4d6c9671SPiotr Wilczek	rm -f $(LIB) core *.bak $(obj).depend
26*4d6c9671SPiotr Wilczek
27*4d6c9671SPiotr Wilczek#########################################################################
28*4d6c9671SPiotr Wilczek
29*4d6c9671SPiotr Wilczek# defines $(obj).depend target
30*4d6c9671SPiotr Wilczekinclude $(SRCTREE)/rules.mk
31*4d6c9671SPiotr Wilczek
32*4d6c9671SPiotr Wilczeksinclude $(obj).depend
33*4d6c9671SPiotr Wilczek
34*4d6c9671SPiotr Wilczek#########################################################################
35