On Wed, Aug 28, 2019 at 10:54 PM Tony Mechelynck
<antoine.mechely...@gmail.com> wrote:
>
> On Wed, Aug 28, 2019 at 5:37 PM Yegappan Lakshmanan <yegapp...@gmail.com> 
> wrote:
> > Are you trying to update an existing shadow directory? Are the
> > symbolic links to the new .c files created if you clean the view and run
> > "make shadow" again?
> >
> > Regards,
> > Yegappan
>
> 1) Once and for all:
> in the src directory: "make shadow" (or "SHADOWDIR=shadow-huge make -e
> shadow" or similar) creates a shadow directory as a subdirectory of
> the src directory and fills it with soft links to the sources in src
> (see the "shadow" target ion src/Makefile for details)
> 2) Thereafter, I don't recreate the shadow directory every time: I cd
> to the shadow directory and use it for incremental compiles, using the
> Makefile in it (which is originally a copy of the src/Makefile but I
> replace that by a symlink so updates to the Makefile are automatically
> applied). If new source files were created _after_ I created the
> shadow directory, they aren't automatically picked up.
>
> Best regards,
> Tony.

P.S. The reason I use shadow directories is that it allows me to
compile several Vim builds with different config settiings (I started
with a Tiny "vi" build and a Huge "vim" build) without the one
throwing wrenches into the other's cogs — and also with the
possibility of incremental updates, i.e., rebuilding only what has
changed, with is what "make" is for.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAJkCKXtsBv1To1_Wvp74QxdhSUKr_sVZiXzWOrxxQ0pE29TohQ%40mail.gmail.com.

Raspunde prin e-mail lui