12 lines
177 B
Makefile
12 lines
177 B
Makefile
obj-m += chardev.o
|
|
|
|
|
|
PWD := $(CURDIR)
|
|
|
|
all:
|
|
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
|
|
|
|
clean:
|
|
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
|
|
|