Add Makefile

This commit is contained in:
NJL
2026-06-26 22:42:40 +00:00
commit 6e9d7dc6ef
+6
View File
@@ -0,0 +1,6 @@
obj-m := poc.o
KDIR := /lib/modules/$(shell uname -r)/build
all:
$(MAKE) -C $(KDIR) M=$(shell pwd) modules
clean:
$(MAKE) -C $(KDIR) M=$(shell pwd) clean