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