xref: /linux/samples/connector/Makefile (revision 750afb08ca71310fcf0c4e2cb1565c63b8235b60)
1# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o
3
4# List of programs to build
5ifdef CONFIG_SAMPLE_CONNECTOR
6hostprogs-y := ucon
7endif
8
9# Tell kbuild to always build the programs
10always := $(hostprogs-y)
11
12HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include
13
14all: modules
15
16modules clean:
17	$(MAKE) -C ../.. M=$(CURDIR) $@
18