Search Results

Search: Posts Made By: bellings
13,890
Posted By bellings
It almost works
Thanks for the help. Just one more thing. When I make the executable, it only works if I make it in exactly the way that it appears in the Makefile. So if I type "gmake ../exe/poly.oh3.serial.exe"...
13,890
Posted By bellings
I tried changing it to: $(OH3S):$(OBJ)...
I tried changing it to:

$(OH3S):$(OBJ) dummy_mpi.o oh3.o setup4.o surf4.o coord4.o chain4.o

but now it says that there is no rule when I 'gmake OH3S':

gmake: *** No rule to make target...
13,890
Posted By bellings
This line is correct: OH3S:$(OBJ) dummy_mpi.o...
This line is correct:
OH3S:$(OBJ) dummy_mpi.o oh3.o setup4.o surf4.o coord4.o chain4.o

Yes, the purpose for this line:
POT:../poten/oh3.f
is for 'Make POT'.

But why is it relinking?
13,890
Posted By bellings
The time stamps are fine
The source files are older than the objects, and the objects are older than the executable. Is there any other reason that Make would relink?
13,890
Posted By bellings
Makefile relinks everytime
Hi guys, I'm a firsttime poster. My makefile is relinking everytime, even if nothing changes. Is there anyway to have it stop doing this?

Here the makefile:

F77C = /usr/bin/f77 -O
VERSION...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 10:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy