khello/Makefile
author Markus Bröker<broeker.markus@googlemail.com>
Sun, 10 Feb 2019 13:17:01 +0100
changeset 173 374a86886bc5
parent 98 0e8eddac99cb
permissions -rw-r--r--
LAST-DIGIT-BUG: INCREMENT before LF

obj-m += khello.o

all:
	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

install:
	cp khello.ko /lib/modules/$(shell uname -r)/misc/;
	depmod -a

distclean: clean
	rm -f modules.order