I am new to PETSc, so I don't really know how it works. I added this line to my makefile: include $(PETSC_DIR)/bmake/common/base but I had a target named 'clean' defined. Now, when I run my makefile it says: ... ignoring old commands for target 'clean' Does PETSc also define a target named 'clean'? If yes, what does it do? Billy.
On Fri, 17 Feb 2006, [email protected] wrote:
I am new to PETSc, so I don't really know how it works.
I added this line to my makefile:
include $(PETSC_DIR)/bmake/common/base
but I had a target named 'clean' defined. Now, when I run my makefile it says:
... ignoring old commands for target 'clean'
Does PETSc also define a target named 'clean'? If yes, what does it do?
Yes - it also defines a target clean. Its in bmake/common/rules. You can check it to see what all default files it deletes. To get additional files to be deleted by this default target - specify the following in the user makefile CLEANFILES = filenames Satish
[email protected] writes:
I am new to PETSc, so I don't really know how it works.
I added this line to my makefile:
include $(PETSC_DIR)/bmake/common/base
but I had a target named 'clean' defined. Now, when I run my makefile it says:
... ignoring old commands for target 'clean'
Does PETSc also define a target named 'clean'? If yes, what does it do?
It does define 'clean' to cleanup up after compilation. You could change the name of your target if you need it. I will look at changing it in an up coming release. Matt -- "Failure has a thousand explanations. Success doesn't need one" -- Sir Alec Guiness
participants (3)
-
billy@dem.uminho.pt -
Matthew Knepley -
Satish Balay