Makefile
obj-m += hello-1.o      # modify for different examples

all:
    make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
    make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License