Further to my previous question about modularizing code, when I want to compile source to object files, is there any way of determining where the object files are located?
e.g. gcc -c [all the source files] just produces objects in the present directory.
But suppose I wanted to put all the object files for a project into a special directory, how would I do that?
Many thanks,
-- Joe
e.g. gcc -c [all the source files] just produces objects in the present directory.
But suppose I wanted to put all the object files for a project into a special directory, how would I do that?
Many thanks,
-- Joe