Skip to content

Instantly share code, notes, and snippets.

@md-jamal
Created April 22, 2019 05:32
obj-m += linux.o
linux-objs := hello.o
all:
make -C /lib/modules/`uname -r`/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment