Kirti Wankhede | 9d1a546 | 2016-11-17 02:16:33 +0530 | [diff] [blame] | 1 | # |
2 | # Makefile for mtty.c file | ||||
3 | # | ||||
4 | KERNEL_DIR:=/lib/modules/$(shell uname -r)/build | ||||
5 | |||||
6 | obj-m:=mtty.o | ||||
7 | |||||
8 | modules clean modules_install: | ||||
9 | $(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) $@ | ||||
10 | |||||
11 | default: modules | ||||
12 | |||||
13 | module: modules |