I use Eclipse CDT on Linux to create a C ++ executable and several static libraries that the executable depends on. All is well - Eclipse generates makefiles for both Debug and Release, as expected.
However, I want to compile this code on the computer without installing Eclipse, so I thought to write a simple makefile that calls the Eclipse makefile.
So, I started with something like:
all:
cd Lib1/Release && make all
cd Lib2/Release && make all
...
cd Exec/Release && make all
This only works for Release, as you can see ...
How to modify makefile so that I can use the selected user configuration?
Many thanks.
source
share