Add Makefile

This commit is contained in:
Adam Outler 2025-03-14 01:38:56 +00:00
parent 61e7503cff
commit fb61c37cd8

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
obj-m := wofs.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
all:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean