[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: makefile.
On Fri, 17 Feb 2006, billy@dem.uminho.pt 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