I would like to redirect the object files to a different directory in a
Makefile (UNIX). Usually, the object files are placed in the same
directory as the source directory.
Please help me if anyone knows this and how to do it efficiently?
mv *.o /home/path where to be redirected
Solution1 works but if you change one source file and build,it will build all source files instead of one source files.Similarly,when you give complete build and if you make changes in one module,it will build all modules.It is a problem. So,Can you please suggest some efficient solution.