khello/Makefile
author Markus Brökers <mbroeker@largo.homelinux.org>
Tue, 17 Aug 2010 18:57:57 +0200
changeset 139 cb1d3f4cf18e
parent 98 0e8eddac99cb
permissions -rw-r--r--
execve returns a value on error and this catches it

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