#
# focaltech_ft8756_spi_ts.ko
#
# Makefile: for external make invocation
#
# Note:
# - Please refer to modules/sample/Makefile to find out what should be
#   done in this Makefile
#




#####module name ###
obj-m := focaltech_ft8756_spi_ts.o

#######add .o file#####
focaltech_ft8756_spi_ts-objs += focaltech_core.o
focaltech_ft8756_spi_ts-objs += focaltech_esdcheck.o
focaltech_ft8756_spi_ts-objs += focaltech_ex_fun.o
focaltech_ft8756_spi_ts-objs += focaltech_ex_mode.o
focaltech_ft8756_spi_ts-objs += focaltech_flash.o
focaltech_ft8756_spi_ts-objs += focaltech_gesture.o
focaltech_ft8756_spi_ts-objs += focaltech_point_report_check.o
focaltech_ft8756_spi_ts-objs += focaltech_spi.o
focaltech_ft8756_spi_ts-objs += ts_func_test.o

SRC := $(shell pwd)

all:
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC)

modules_install:
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install

clean:
	rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c
	rm -f Module.markers Module.symvers modules.order
	rm -rf .tmp_versions Modules.symvers