aboutsummaryrefslogtreecommitdiff
path: root/1/Makefile
blob: a3e297b28e02838d6f938402fcb2a1072ec96261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
RELEASE := $(shell uname -r)
KERNEL := /lib/modules/$(RELEASE)/build

obj-m += lork.o
lork-y := main.o

all:
	$(MAKE) -C $(KERNEL) M=$(PWD) modules

compile_commands.json:
	compiledb make -Bn