]>
Commit | Line | Data |
---|---|---|
a72007d9 SG |
1 | # |
2 | # (C) Copyright 2012 The Chromium Authors | |
3 | # | |
1a459660 | 4 | # SPDX-License-Identifier: GPL-2.0+ |
a72007d9 SG |
5 | # |
6 | ||
7 | include $(TOPDIR)/config.mk | |
8 | ||
9 | LIB = $(obj)libtest.o | |
10 | ||
11 | COBJS-$(CONFIG_SANDBOX) += command_ut.o | |
12 | ||
13 | COBJS := $(sort $(COBJS-y)) | |
14 | SRCS := $(COBJS:.o=.c) | |
15 | OBJS := $(addprefix $(obj),$(COBJS)) | |
16 | ||
17 | all: $(LIB) $(XOBJS) | |
18 | ||
19 | $(LIB): $(obj).depend $(OBJS) | |
20 | $(call cmd_link_o_target, $(OBJS)) | |
21 | ||
22 | ######################################################################### | |
23 | ||
24 | # defines $(obj).depend target | |
25 | include $(SRCTREE)/rules.mk | |
26 | ||
27 | sinclude $(obj).depend | |
28 | ||
29 | ######################################################################### |