Satish Balay balay at
Fri Feb 17 13:29:42 CST 2006

On Fri, 17 Feb 2006, billy at 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


More information about the petsc-users mailing list