Skip to content

Instantly share code, notes, and snippets.

View andrewloux's full-sized avatar

Andrew Louis andrewloux

View GitHub Profile
@andrewloux
andrewloux / Makefile
Created May 27, 2018 19:41 — forked from brenns10/Makefile
Linux Character Device Example
obj-m += chardev.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