On 23-2-2012 10:04, Graeme Geldenhuys wrote:
> On 23 February 2012 11:01, Sven Barth  wrote:
>> AFAIK make clean only removes files it knows about. If the unit directory
>> got renamed from lib to units then it dies not know there is a lib directory
>> to clean (it could be a directory created by the user after all). I don't
>> know whether this is your exact course, but it's at least the situation as I
>> remember it.
> 
> I definitely did not rename any directories. Why doesn't 'make clean'
> rather search for *.ppu and *.o and *.a and executables instead? That
> would be a much more reliable clean method.
> 
I'd agree with removing .ppu, .o, .a but:
1) removing executables is nasty if you have 3rd party exes in your
Lazarus tree
2) IIRC, there's a way to use closed source ppus... if that is true,
deleting .ppu might be nasty, too. Possibly similar argument for .o or .a

Perhaps a new make nuclearclean option would be nice that does remove
all .ppu, .o and .a files...


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to