-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
22 lines (18 loc) · 1.05 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: vismaily <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/10/06 12:52:01 by vismaily #+# #+# #
# Updated: 2024/08/15 11:20:57 by vismaily ### ########.fr #
# #
# **************************************************************************** #
obj-m = main.o
K-VERSION = $(shell uname -r)
K-DIR = /lib/modules/$(K-VERSION)/build
all:
make -C $(K-DIR) M=$(shell pwd) modules
clean:
make -C $(K-DIR) M=$(shell pwd) clean