Re: adding a path to include search path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Justin,

In your makefile, add the CC and CXX defined variables:

--------8<--------
CC := gcc -idirafter /home/justin/kcool
CXX := g++ -idirafter /home/justin/kcool

# yada yada yada...
--------8<--------

Or you can do it from the command line:

make CC='gcc -idirafter /home/justin/kcool' CXX='g++ -idirafter /home/justin/kcool' -f MyKCoolProject

If your makefile isn't using $(CC) and $(CXX) for compilation (**gasp**!), you'll need to find an alternative.

HTH,
--Eljay




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux