gcc/g++ newb query. Linking Libraries.
Quite frankly, I'm getting really annoyed with typing.
g++ (file) -o -Other Compiler options (file to output) -libraryn+1 -libraryn+2 libraryn*n
There has to be a better way surely for instance defining a program to automatically do this? Maybe? I was hoping there was a really quick way to do this.
If not, can anyone point me to a tutorial that will teach me how to write a script that I can click to compile a file in a directory with the custom options?
Thanks ^_^
|