Control size of buffer.
[cascardo/kernel/samples/02.char/.git] / Makefile
1 ifneq ($(KERNELRELEASE),)
2         obj-m := helloc.o
3 else
4         KERNELDIR ?= /lib/modules/$(shell uname -r)/build
5         PWD := $(shell pwd)
6 default:
7         $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
8
9 clean:
10         $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
11 endif