Right now when I compile all my .for and .obj files are in the same folder. I want it so when it compiles they go the folder "o".
I have attached my makefiles. the command I type to compile is "nmake -f makeri -x- >look" Makeri calls makerip.
Add to your fortran options:
what about the ".for" files? I have it working now for the object files.
The .for files are generally in the current directory. i.e. you set the current directory to that of the .for files. In your make file you see in several places "cd auxx" (and at end of section "cd ..". auxx would be where the sources would be located for that instance. You would add a section for your new .for files that would "cd YourForFiles".
Or you can explicitly add the path to your .for file if you wish,
: Near TopForPath = YourForFiles...$(f90) -nologo $(ForPath)\select.f
$(f90) -nologo YourForFiles\select.f
Generally the preferred method is to set the current directory to that of your sources.