sys/wait.h is the proper header, not wait.h
committer: Markus Bröker <mbroeker@largo.homelinux.org>
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