blob: a68613df729c34dd72211122f12993743575d293 [file] [log] [blame]
Simon Glass10c08ef2012-03-30 21:30:58 +00001#
2# (C) Copyright 2012 The Chromium Authors
3#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Simon Glass10c08ef2012-03-30 21:30:58 +00005#
6
7include $(TOPDIR)/config.mk
8
9LIB = $(obj)libtest.o
10
11COBJS-$(CONFIG_SANDBOX) += command_ut.o
Kees Cook5d3bca82013-08-16 07:59:11 -070012COBJS-$(CONFIG_SANDBOX) += compression.o
Simon Glass10c08ef2012-03-30 21:30:58 +000013
14COBJS := $(sort $(COBJS-y))
15SRCS := $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17
18all: $(LIB) $(XOBJS)
19
20$(LIB): $(obj).depend $(OBJS)
21 $(call cmd_link_o_target, $(OBJS))
22
23#########################################################################
24
25# defines $(obj).depend target
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################