khello/Makefile
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 16 Apr 2009 12:49:12 +0200
changeset 50 a38f102556e5
child 98 0e8eddac99cb
permissions -rw-r--r--
khello: a nice kernel module committer: Markus Bröker <mbroeker@largo.homelinux.org>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
50
a38f102556e5 khello: a nice kernel module
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     1
obj-m += khello.o
a38f102556e5 khello: a nice kernel module
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     2
a38f102556e5 khello: a nice kernel module
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     3
all:
a38f102556e5 khello: a nice kernel module
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     4
	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
a38f102556e5 khello: a nice kernel module
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     5
a38f102556e5 khello: a nice kernel module
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     6
clean:
a38f102556e5 khello: a nice kernel module
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     7
	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
a38f102556e5 khello: a nice kernel module
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     8
a38f102556e5 khello: a nice kernel module
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     9
distclean: clean
a38f102556e5 khello: a nice kernel module
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
    10
	rm -f modules.order