khello/Makefile
author Markus Bröker<broeker.markus@googlemail.com>
Sat, 21 Oct 2017 13:45:05 +0200
changeset 171 c6e0af68825a
parent 98 0e8eddac99cb
permissions -rw-r--r--
Entrypoint and RET fixed

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