[Lazarus] Makefile issues

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Dec 2 00:10:25 CET 2022

On Thu, 1 Dec 2022 23:22:38 +0100 (CET)
Michael Van Canneyt via lazarus <lazarus at lists.lazarus-ide.org> wrote:

> Well, it turns out that "make useride" also does not work on a fresh
> checkout.

It didn't work when Cleaning is enabled. Fixed.

> But the point of the 'main targets' is taken, so I filed a feature 
> request in the issue tracker to be able to build the LCL using just 
> the Makefile.
> basically, I would like something as
> make lcl
> to produce the LCL units.

make registration lazutils lcl

The problem is that make is pretty dumb, so it creates only a
rudimentary Makefile.compiled file.
If you use lazbuild or lazarus to compile a project they might decide
to recompile the lcl.
It would be safer to compile lazbuild, and then use that to
compile the lcl.


More information about the lazarus mailing list