mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2024-12-22 14:26:11 +00:00
28 lines
428 B
Makefile
28 lines
428 B
Makefile
#Kernel module makes here
|
|
PWD := $(CURDIR)
|
|
|
|
CC := gcc
|
|
CCLD := $(CC)
|
|
LD := ld
|
|
CFLAGS :=
|
|
LDFLAGS :=
|
|
|
|
.PHONY: kmake kload kunload kreload kclean kmclean xclean
|
|
kmake: kmod
|
|
|
|
kmod:
|
|
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
|
|
|
|
kload:
|
|
insmod kyoutubeUnblock.ko
|
|
|
|
kunload:
|
|
-rmmod kyoutubeUnblock
|
|
|
|
kreload: kunload kload
|
|
|
|
kclean: kmclean
|
|
|
|
kmclean:
|
|
-$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
|