From 9bf5719d4c59993c07113c089ebd5a92d692f785 Mon Sep 17 00:00:00 2001 From: kartofen Date: Mon, 24 Apr 2023 23:52:41 +0300 Subject: skeleton done --- src/module/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/module/Makefile (limited to 'src/module/Makefile') diff --git a/src/module/Makefile b/src/module/Makefile new file mode 100644 index 0000000..c9db2e0 --- /dev/null +++ b/src/module/Makefile @@ -0,0 +1,8 @@ +obj-m += $(name).o +$(name)-y := module.o + +all: + make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules + +clean: + make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean -- cgit v1.2.3