Skip to content

Instantly share code, notes, and snippets.

@topecongiro
Created October 8, 2016 02:32
Show Gist options
  • Save topecongiro/b89317835dcb574cf67b61b49c9ad8aa to your computer and use it in GitHub Desktop.
Save topecongiro/b89317835dcb574cf67b61b49c9ad8aa to your computer and use it in GitHub Desktop.
obj-m := hello-module.o
all:
make -C /lib/modules/$(shell 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