Automate the console compile and run process with the Scite editor
From Allegro Wiki
The Scite text editor has an itegrated console that can automate the compile and run process. This is much easier and faster than using an IDE. To do that just install Scite and then go into Options>Edit Properties>Open cpp.properties and find where the path is to this file (its write protected, trying to save a changed file will bring up error message with path) then when you know the location open it with: sudo gedit /usr/share/scite/cpp.properties turn on line numbers and go to lines #262 and #263 and change them from this:
cc=g++ $(ccopts) -c $(FileNameExt) -o $(FileName).o ccc=gcc $(ccopts) -c $(FileNameExt) -o $(FileName).o
to this:
cc=g++ $(FileNameExt) -o $(FileName) ccc=gcc $(FileNameExt) -o $(FileName)
and then you will be able to do an automatic compile and run of a regular C program in Tools>compile and Tools>go (and skip the Tools>build step)
And then to do an automated Allegro app compile/run you just add
cc=g++ $(FileNameExt) -o $(FileName) `allegro-config --libs` ccc=gcc $(FileNameExt) -o $(FileName) `allegro-config --libs`
- There is an Editor called Geany that also has an integrated console for compiling within the editor and will allow you to set the compile/run parameters when you
load a source file in Build>Set Includes and Arguments
