Svetlana Tkachenko <svetlana.tkache...@fastmail.fm> writes: > Right. I have spent half of an hour now trying to imagine what to do > to link trying everything like a headless chicken and it did not > work.
You always have to send the error message. > I would appreciate if you could come up with something that links, not > just runs a single program. The makefiles we suggested link a program of the same name as the source file. Do you have multiple source files? You only have to edit the one line and run "make". program: several.o object.o files.o ${CLINKER} -o $@ $^ ${PETSC_LIB} include ${PETSC_DIR}/conf/variables include ${PETSC_DIR}/conf/rules
pgpnp8FMfHJGP.pgp
Description: PGP signature