obj-m += detector.o
KERNELBUILD:=/lib/modules/$(shell uname -r)/build

#generate the path
CURRENT_PATH:=$(shell pwd)

#complie object
make:
	make -C $(KERNELBUILD) M=$(CURRENT_PATH) modules
	make clean

#clean
clean:
	rm -rf *.o *~ core. *.mod.c modules.* ./tmp_version
