Advertisement
Tobiahao

Simple_Makefile

Mar 8th, 2018
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.17 KB | None | 0 0
  1. obj-m := module.o
  2. KERNELDIR := /lib/modules/$(shell uname -r)/build
  3.  
  4. default:
  5.     $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
  6.  
  7. clean:
  8.     $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement