g++ hello.cpp -o hello -I/usr/include/allegro5 -L/usr/lib -lallegro
I want to compile a source code of the Allegro game library. After some googling i found this compile command (
g++ hello.cpp -o hello -I/usr/include/allegro5 -L/usr/lib -lallegro
) which runs the program. How can i set this as compile command in geany, and is there a way not having to switch between this and a normal compile command automatically when working on an Allegro and some other/Non-Allegro files?
Many thanks