projects
/
nbd-module.git
/ blob
10f82f8ecda6815fd10ca3388a985e603a7680f7
[nbd-module.git]
/
Makefile
1
ifneq ($(KERNELRELEASE),)
2
# kbuild part of makefile
3
obj-m := nbd.o
4
5
else
6
7
# normal makefile
8
KDIR ?= /lib/modules/`uname -r`/build
9
10
default:
11
$(MAKE) -C $(KDIR) M=$$PWD
12
13
endif