Skip to content

Instantly share code, notes, and snippets.

@peternguyen93
Created July 27, 2017 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peternguyen93/b9d0a0416920ce070d13fa85e4a5aad5 to your computer and use it in GitHub Desktop.
Save peternguyen93/b9d0a0416920ce070d13fa85e4a5aad5 to your computer and use it in GitHub Desktop.
obj-m+=ebbchar.o
all:
make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) modules
$(CC) testebbchar.c -o test
clean:
make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) clean
rm test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment