Re: Script to compile all files with a given extension?
- From: The Natural Philosopher <a@xxx>
- Date: Fri, 29 Jun 2007 23:39:35 +0100
Hi everyone,Wtite a Makefile and use make?
Quite often I move source codes between CPU architectures and need to
recompile it, otherwise I get the error:
-bash: ./program_binary: cannot execute binary file
Since discovering the joys of bootstrapping my programs, I no longer
have one big program but many smaller interconnected ones (easier
debugging, allows you to edit/recompile one even while your doing a
run, greater flexibility, etc.)
How can I write a script that would:
Identify all the files with .for and .f90 extensions
Execute the commands:
'ifort program.for -o program'
'ifort program2.f90 -o program2'
- Prev by Date: Re: Mislaid free space
- Next by Date: Re: want to join
- Previous by thread: how can a bit be off in memory?
- Next by thread: Re: Script to compile all files with a given extension?