[Lazarus] make clean is leaving more than 20MB stuff behind (this number is after compression!)

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Oct 8 14:17:23 CEST 2012


Sven Barth <pascaldragon at googlemail.com> hat am 8. Oktober 2012 um 14:03
geschrieben:
> Am 08.10.2012 12:59, schrieb Mattias Gaertner:
> > > I just checked, and just about every project I work on has *.a, *.o,
> > > *.ppu, *.compiled, *.lps, *.rst, the executables for various target
> > > platforms, unit/*/ unit output directories, and sometimes *.bak files.
> > .bak are created by the IDE as backups of sources. "make clean" should
> > not delete source files, nor backups.
> > .lps should not be be deleted by make clean.
> > .ppu, .o, .rst and .compiled should be deleted by "make clean".
> > .a are not created in Lazarus sources.
>
> You are wrong regarding ".a" files. They are at least created for the
> Windows widgetsets. Here the files that I have:
>
> lazarus/lcl/units/i386-win32/win32/libimpwin32wsforms.a
> lazarus/lcl/units/arm-wince/wince/libimpwincedef.a
> lazarus/lcl/units/arm-wince/wince/libimpwinceextra.a

It seems to me Bernd meant Linux.
Of course you can pass options to 'make' to create all kind of unusual files.
But there is no 'make' command to delete-all-except, so it is impossible to fix
all cases.
We can add *.a to those places where it is missing, but that won't fix Bernd's
issue about ppu files.

> And what about *.res files?

They are not created/updated by make.

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20121008/6df39e79/attachment-0003.html>


More information about the Lazarus mailing list