I a writing a program,exept main there will be 8 soubrutines.How to make a directory with main program and soubrutines?Should I write a makefile?Any links regarding this.
Archimedes80,thanks a lot.But there is another issue,I am using two data files for input,where to put them?I mean that they don't go to this directory.
This is what I get:
f77 -O3 -C SURFCE.F -O SURFCE.O
surfce:
gcc: SURFCE.O: No such file or directory
f77 -O3 -C PHASE.F -O PHASE.O
phase:
gcc: PHASE.O: No such file or directory
f77 -O3 -O SURFACE SURFCE.O PHASE.O
gcc: SURFACE: No such file or directory
gcc: SURFCE.O: No such file or directory
gcc: PHASE.O: No such file or directory
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.