Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save abhishek-jaisingh/8ebae4a14dd9f332f5d4c76b0c30f9c2 to your computer and use it in GitHub Desktop.
Save abhishek-jaisingh/8ebae4a14dd9f332f5d4c76b0c30f9c2 to your computer and use it in GitHub Desktop.

Revisions

  1. abhishek-jaisingh created this gist Jun 14, 2020.
    6 changes: 6 additions & 0 deletions medium-linux-kernel-module-programming-Makefile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    # Makefile
    obj-m += hello.o
    all:
    make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
    clean:
    make -C /lib/modules/$(shell uname -r)/build M=$(PWD) cleanvv