#
# Makefile for the Sonos Audio Driver
#
# REVIEW: This comment does not look correct to me.
# Use the following command to build the driver (path to kernel):
#   make -C ../build/ M=`pwd`

obj-m += audiodev.o
CFLAGS_MODULE += -Werror

ccflags-y := -I../../drivers/include
ccflags-y += -I../../common/ctl

audiodev-y	:= dev.o mpc8xxxtdm_new.o audioctl_ll.o limelight-fpga.o i2c.o thermal-sensor.o tas5708.o mma7660.o \
                   button_event.o button_sim.o
audiodev-y	+= mma8453.o orient.o

clean cleanest:
	rm -f *.o *.ko