Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved. |
| 3 | # Sanghee Kim <sh0130.kim@samsung.com> |
| 4 | # |
| 5 | # SPDX-License-Identifier: GPL-2.0+ |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/config.mk |
| 9 | |
| 10 | LIB = $(obj)lib$(BOARD).o |
| 11 | |
| 12 | COBJS-y := trats2.o |
| 13 | |
| 14 | SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) |
| 15 | OBJS := $(addprefix $(obj),$(COBJS-y)) |
| 16 | |
| 17 | |
| 18 | $(LIB): $(obj).depend $(OBJS) |
| 19 | $(call cmd_link_o_target, $(OBJS)) |
| 20 | |
| 21 | clean: |
| 22 | rm -f $(OBJS) |
| 23 | |
| 24 | distclean: clean |
| 25 | rm -f $(LIB) core *.bak $(obj).depend |
| 26 | |
| 27 | ######################################################################### |
| 28 | |
| 29 | # defines $(obj).depend target |
| 30 | include $(SRCTREE)/rules.mk |
| 31 | |
| 32 | sinclude $(obj).depend |
| 33 | |
| 34 | ######################################################################### |