From: Ozkan S. <se...@gm...> - 2011-10-19 08:06:51
|
On Wed, Oct 19, 2011 at 10:45 AM, Luis Lavena <lui...@gm...> wrote: > On Wed, Oct 19, 2011 at 9:32 AM, Ozkan Sezer <se...@gm...> wrote: >> On Wed, Oct 19, 2011 at 10:23 AM, Luis Lavena <lui...@gm...> wrote: >>> >>> I'm missing a way to trigger the inclusion of DDK? >> >> Doing #include <ntifs.h> in your *.c and -I[somepath]/ddk in >> your CFLAGS or something? >> > > Thank you, > > Problem with that is means I would have to hardcode a path into the > Makefile that only applies to my environment. > > But, perhaps is the only alternative. You can use some environment variables pointing to the ddk headers path, and in your Makefile you can do, like: ifeq ($(DDK_PATH),) DDK_PATH=someplace endif CFLAGS+=-I$(DDK_PATH) > > Thank you. > > -- > Luis Lavena > AREA 17 > - > Perfection in design is achieved not when there is nothing more to add, > but rather when there is nothing more to take away. > Antoine de Saint-Exupéry -- O.S. |