xref: /linux/samples/connector/Makefile (revision 7c66e12136c2fa421ae75497e02728f252108a1b)
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