I have my main.cpp file, and in that folder is another folder called src, and in that folder are more folders etc… How could I compile this easily with g++? I do not want to make a make file at this time because I’m still working on my project but I want to test in in Linux and OSX.
Thanks
You could do it the right way, with a Makefile, or by making a list every time you build, something like: