Re: Is it possible to invoke "make" from scons file?

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CHyd9RN_DBL8SHZh_qL5M_wyqm4TaQLwqBwQOZugTcX6Q@mail.gmail.com>
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 <[email protected]> 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
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.