How to write Makefile in 2.6 for including header files in another dir ?
I have written some *.c files in one directory "src" for some kernel module.
My own ".h" files are stored in another directory "include".
Now, I want to build modules using Makefile for 2.6 kernel (I'm using 2.6.3 Mandrake).
My main Makefile is in outer directory.It should call other Makefile located in
"src" directory to build modules.
I have included my own header files in .c files.
I have tried
EXTRA_CFLAGS := -I ./include
It doesn't work.
Please tell me solution for this ( Makefile should be written using new kbulid procedure for buliding kernel modules).
|All times are GMT -5. The time now is 11:00 AM.|