I am making an OpenGL framework on which to base my code on while learning OpenGL (and Computer Graphics in general).
It is structured in a way that I only have to modify a few data files and shaders along with a single .cpp file to implement examples.
I want to move that 'unit' away from the framework code, into independent subfolders, so that I can work on multiple things at the same time.
I can't figure out how to incorporate that into 'make' .
So far, I'm using a pretty crude chell script that copies the .cpp file into the main folder, invokes the original Makefile and moves back the executable to the subfolder so that it can reach its files.
What is a better way to do this ?
Any build system recommendation that supports this kind of stuff 'naturally' ?
(Here is the code, https://bitbucket.org/manasij7479/gl/ )