View Single Post
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#3
In an "ordinary" Makefile, the following is common
Code:
CFLAGS += `pkg-config --cflags gtk+-2.0`
LDFLAGS += `pkg-config --libs gtk+-2.0`
Please note that backtick is used to make the shell expand the call to pkg-config.

Last edited by Joorin; 2010-06-01 at 19:44. Reason: Typo
 

The Following User Says Thank You to Joorin For This Useful Post: