1# 2# Makefile for mtty.c file 3# 4KERNEL_DIR:=/lib/modules/$(shell uname -r)/build 5 6obj-m:=mtty.o 7 8modules clean modules_install: 9 $(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) $@ 10 11default: modules 12 13module: modules 14