summaryrefslogtreecommitdiffstats
path: root/samples/vfio-mdev/Makefile
blob: a932edbe38eb9eba5a1b3429bb67cc9c99d0d3a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# Makefile for mtty.c file
#
KERNEL_DIR:=/lib/modules/$(shell uname -r)/build

obj-m:=mtty.o

modules clean modules_install:
	$(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) $@

default: modules

module: modules