Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] compile using output other program

Hi.

I have line compile g++ teste.cpp -o teste `allegro-config --libs` in shell.

`allegro-config --libs` shell expands to -L/usr/lib -lalleg-4.2.2 -lm -lXxf86vm -lXcursor -lXpm -lXext -lX11 -lpthread -ldl

Final line compile g++ teste.cpp -o teste -L/usr/lib -lalleg-4.2.2 -lm -lXxf86vm -lXcursor -lXpm -lXext -lX11 -lpthread -ldl

But i have who included in eclipse Library by library to compile.

there is a method automatic `allegro-config --libs` in makefile ? I do not need to include item by item in option compile library.

excuse my english.






Back to the top