obj-m := deepin-netmonitor.o

KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

default:
	${MAKE} -C ${KERNELDIR} M=${PWD} modules

clean:
	${MAKE} -C ${KERNELDIR} M=${PWD} clean

# This Makefile assumes that the kernel headers are installed in the default location. 
# If they are not, you will need to modify the KERNELDIR variable to point to the correct location. 
# To compile the module, simply run "make". 
# To clean up the build artifacts, run "make clean".
