Author Topic: Linux makefile variables in Code::Blocks  (Read 3484 times)

Offline Rye

  • Single posting newcomer
  • *
  • Posts: 9
Linux makefile variables in Code::Blocks
« on: October 09, 2007, 11:27:42 am »
Hello, I am having a bit of trouble trying to get the Linux KDE/QT include and library paths into Code::Blocks and was wondering if anybody could help me.

The Problem
I want to add the Makefile variables like "$(all_includes)", "$(all_libraries)", "$(KDE_PLUGIN)", etc to my compiler (GNU GCC) so i can develop KDE/QT applications but i don't understand how. I have noticed you can add custom variables that can be used in the compiler and linker options but that requires you knowing the variable value before hand (which i don't).

I was wondering if anybody knew how i can use those Makefile variables in my comiler/linker options, or how i can get those values from the system (i.e. through something like 'kde-config --cflags' or 'kde-config --libs')

Any assistance would be greatly appreciated, thanks :)

EDIT: Wait, i figured it out, those variables were defined in the makefile ... i just didn't see them.
Sorry for wasting time :$.
« Last Edit: October 09, 2007, 12:11:15 pm by Rye »