On 4/11/06, Jared Greenwald <greenwaldjared@xxxxxxxxx> wrote:
But why would you want to use the kernel-specific defines for a user space program ? If you need to use kernel headers , you can directly define them in your Makefile.
Another Makefile question...
Is there a way to easily grab the CFLAGS from the kernel Makefile to
use in a user space application? The obvious would be to copy-paste,
but that would ignore all of the logic in the kernel Makefile that I
want to preserve.
But why would you want to use the kernel-specific defines for a user space program ? If you need to use kernel headers , you can directly define them in your Makefile.
rgds
Arun
--
"There are 10 people in the world - those who understand binary and those who dont !"