Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Makefile Compilation

Status
Not open for further replies.

schwarem

Programmer
Apr 18, 2002
159
US
I received a FORTRAN program with a whole lot of Makefiles in it. My compiler uses pgf90 for the compile command instead of just f90. I tried making an alias for f90 to equal pgf90. That works fine on the command line, but when the Makefile runs, it doesn't work. Is there any other way I can make the pgf90 command work with f90? For various reasons, going in and changing all the makefiles is not an option.
 
What OS are you using?

eg Windows create a f90.bat file which calls pgf90 and all the parameters.

Unix create a script file which does the same thing.
 
I am using Linux. I ended up making a symbolic link in the compiler directory.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top