compile 2 libs together



Hi,

when I'm using allegro, this line is to compile it:
gcc -o main main.c `allegro-config --libs`

and when I'm using libglade, this line is used:
gcc -o main main.c `pkg-config --cflags --libs libglade-2.0`

But now I must use allegro and libglade together.

How I can compile this together?

Thanks



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