summarylogtreecommitdiffstats
path: root/Makefile
blob: 6a6a165493947479560c1693b304070133428e82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
KERNELRELEASE ?= $(shell uname -r)
KDIR ?= /lib/modules/$(KERNELRELEASE)/build
PWD ?= $(shell pwd)

obj-m := drivers/misc/ntsync.o
ccflags-y := -I$(src)/include -Werror

default: modules
install: modules_install

modules modules_install clean:
	$(MAKE) -C $(KDIR) M=$(PWD) $@