# Copyright (c) 2020, Sonos Inc.  All rights reserved.

ifndef KDIR
$(error KDIR (kernel source directory) not defined)
endif

KBUILD_CFLAGS_MODULE += -Werror

obj-m += sonos_device.o

ccflags-y := -I$(src)/../include

all:
	make -C $(KDIR) M=$(PWD) modules

clean:
	make -C $(KDIR) M=$(PWD) clean

