summarylogtreecommitdiffstats
path: root/Makefile
blob: 1a93fbae713ab1f648685212135d5178dffa80ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ifeq ($(KERNELRELEASE),)
KERNELRELEASE=$(shell uname -r)
endif

obj-m := frandom.o

KDIR := /lib/modules/$(KERNELRELEASE)/build
PWD := $(shell pwd)

default:
	$(MAKE) -C $(KDIR) M=$(PWD) modules

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