khello/Makefile
author Markus Brökers <mbroeker@largo.homelinux.org>
Mon, 09 Aug 2010 12:12:55 +0200
changeset 137 d8a0984b72fc
parent 98 0e8eddac99cb
permissions -rw-r--r--
From a 'C-Professional' :) Take a look at the source and pray

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