[Scons-users] Is it possible to invoke "make" from scons file?

Bill Deegan bill at baddogconsulting.com
Wed Feb 6 17:55:20 EST 2019


Tom,

SCons can run any shell command you want.
The trick is getting it to run only when you need it.
To make that work ideally you'd provide the env.Command() with a list of
sources and targets produced by the script/command/makefile.

There's nothing magical about running Make.
Something like this:
https://scons.org/doc/production/HTML/scons-user/ch19.html

And/or look at env.Command() in the manpage.

What is the shellscript which runs make going to consume/produce?

-Bill

On Wed, Feb 6, 2019 at 2:58 PM Tom Kuo <tkuo at qti.qualcomm.com> wrote:

>
>
> Hi , I’m planning to invoke  a shell script from a builder of scons file.
> In the shell script, it will invoke  “make” to perform libraries weaving
> process through linux.
>
> Is it possible to have a hook in scons to invoke such “make “operation?
> Any example I can take a look?
>
> Thanks for this help, Tom
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190206/2d985239/attachment.html>


More information about the Scons-users mailing list