[Scons-users] Doing a build time Glob()
Dirk Bächle
tshortik at gmx.de
Fri Nov 29 11:56:00 EST 2013
Pico,
On 29.11.2013 15:52, Pico Geyer wrote:
> On Fri, Nov 29, 2013 at 2:10 AM, Bill Deegan
> <bill at baddogconsulting.com <mailto:bill at baddogconsulting.com>> wrote:
>
> Marc,
>
> In your example A install a bunch,etc.. make will not know about
> the dependencies until you run make again.
>
>
> Hi Bill,
>
> I don't know if this is exactly what Marc was referring to, but I'd
> like to provide my own example of how Make does not require you to
> specify all the dependencies explicitly.
> [...]
>
> Now when we run make, it manages to copy and install the headers
> without actually knowing in advance what header files we were going to
> put in build_dir:
> % make
> ./genhdrs.py
> mkdir -p inc
> cp build_dir/*.h inc/
> gcc -Iinc -o test test.c
>
and when you start "make" again, it repeats all the steps...even though
the C source file and the genhdrs.py script didn't change at all. So,
why using a build system at all, when a simple (Python) script would do
fine? ;)
Best regards,
Dirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20131129/e7bc0d95/attachment.htm
More information about the Scons-users
mailing list