Well, I'm trying to understand a program here that I'm using in my scientific initiation, but with a doubt in a make file.
# makefile for code
OBJ1 = main.o derivs.o filter.o
code: $(OBJ1)
gfortran $(OBJ1) -o prg
.f.o:
gfortran -c -O3 $<
clean:
rm *~ *.o *.dat prg
The "code:", ". f.o" and "clean:" are the commands that I have to use with make to be able to execute the line that is just below them, from what I understand. What does this line mean? gfortran -c -03 $
Ahh, and just to see if I'm getting it right, -o is to compile the code into a file, already -c does that too, but it's used when we have to join one or more codes that are in different files, is this?
Thanks for the help right away.