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

all: module

k_config:
	./configure --with-kernel=$(KERNELDIR)

module: k_config
	cd src && $(MAKE) module

.PHONY: all install default