unable to compile a sample module

From: emb in linux (haranath.t_at_gmail.com)
Date: 11/17/05


Date: 16 Nov 2005 23:44:30 -0800

Hai all
I had wrote a small helloworld module and unable to compile.can anybody
help me out.
Here is my module path details:
at path /home/haranth/dd/hello.c---->is my sample module.
           /home/haranath/dd/makefile--->obj-m += hello.o
for compilation i used------->make -C /usr/src/linux-2.6.8.1-12mdk
SUBDIRS=PWD modules

the following are the error statements which i am getting:

make:Entering directory '/usr/src/linux-2.6.8.1-12mdk'
scripts/makefile.build:13:/home/haranath/dd/makefile/pwd:No such file
or directory
make[1]:*** no rule to make target '/home/haranath/dd/makefile/pwd.
stop
make:***[_module_/home/haranath/dd} Error 2
make:Leaving directory'/usr/src/linux-2.6.8.1-12mdk'

                     with regards

                     emb in linux.