(Cross posted on SO: http://stackoverflow.com/questions/25583351 )
Hi all,
I tried to run the simple example below , a $(hello string) function.
It works if I first compile the 'hello.so'. But it doesn't work if I run
it as the example provided here (with a load directive)
http://www.gnu.org/sof
Message: 1
Date: Sat, 30 Aug 2014 19:02:32 +0200 (CEST)
From: "Pierre LINDENBAUM"
To: help-make@gnu.org
Subject: GNU-make 4. Running an example for ?Loading Dynamic Objects?
(Cross posted on SO: http://stackoverflow.com/questions/25583351 )
Hi all,
I tried to run the simple exa
when using $(file )
http://www.gnu.org/software/make/manual/make.html#File-Function .
If two targets, built in parallel with option -j, both call
$(file >>log.txt, Building $@)
is $file thead safe or is it possible to obtain a mixture of both
messages in the file log.txt ?
Pierre
Hi Luke,
I use Make to run my bioinformatics workflows.
As far as I understand your question, you're trying to generate a
makefile for a complex structured model.
My makefile itself is generated with a XML file describing the
experiment ...
te
RCHANTABILITY or FITNESS FOR
+A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with
+this program. If not, see <http://www.gnu.org/licenses/>.
+
+Orignal C++ code from Aaron Ucko / NCBI(Nation
Hi all,
is there a simple way/place in the code of GNU make where I can find/extract
the
* target
* prerequisite(s)
* recipe(s) ?
for example in job.c / start_job_command (would it be the right place ?)
I whish I could `printf` all those strings.
Thank you,
Pierre
__
On 07/22/2015 05:14 PM, Kenneth Adam Miller wrote:
... reading the actual makefile itself?
Did you know that you can use remake -x to get a trace of what make is
trying to build? You can also do a dry run to see what all make would
do with make -n.
Thanks for the answer, but dry-run won't p
rc to find (target/prerequisites/recipes)
To: "Pierre Lindenbaum"
Cc: help-make@gnu.org
Date: Wednesday, July 22, 2015, 11:14 AM
... reading the actual makefile
itself?
Did you know that you can use remake -x to get a trace of
what make is
trying to build? You can also do a dry
Thanks !
It looks like I can parse the output of ‘--print-data-base’ to get what
I need.
Many thanks !
P.
Welcome. There is also a database option. But you may have looked into
that also. Here is what the manual has:
‘-p’
‘--print-data-base’
Print the data base (rules and variable values) t
> Thanks !
> It looks like I can parse the output of ‘--print-data-base’ to get
what I need.
> Many thanks !
at the end, I hacked the source code of make.
If anyone is interested I pushed my patch on github:
https://github.com/lindenb/xml-patch-make
it generates a XML-based graph of my M
My problem statement is, I need to get all the rules information from Makefile
in a separate data structure which will be latter used by our program.
I don't need to execute the project and create any executables. I just need
Target, Dependency, Command information which will involve parsing Mak
A divide+conquer makefile:
http://plindenbaum.blogspot.fr/2014/12/divide-and-conquer-in-makefile.html
P.
From: "Brian Cowan"
To: "make-help mailing list"
Subject: Looking for nastiest makefile that uses function calls to
make themakefile in memory...
Message-ID:
C
12 matches
Mail list logo