obj-m := acc1340_drv.o
#KERNELBUILD :=/lib/modules/$(shell uname -r)/build
KERNELBUILD :=/home/shilz/project/hisilicon/majt/hi3559/huadao/linux-3.18.y
default: 
	make -C $(KERNELBUILD) M=$(shell pwd) modules 
clean: 
	rm -rf *.o *.mod.c .*.cmd *.markers *.order *.symvers .tmp_versions
