help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

assign the result of my python script to a variable of my makefile


From: guylobster
Subject: assign the result of my python script to a variable of my makefile
Date: Wed, 25 Mar 2015 02:54:43 -0700 (PDT)

hello,
this is the first time I do a makefile.
But I block to assign the result of my python script to a variable of my
makefile.
The function works. Here the function and the result.

*My makefile*
G_SIZE=10
Quake:
        python estimationkmer.py $(G_SIZE)
        ESTK=$(python estimationkmer.py $(G_SIZE))
        echo $(ESTK)


*results*
python estimationkmer.py 10
5.48289214233
ESTK=
echo

The problem is the line "ESTK=$(python estimationkmer.py $(G_SIZE))"


thank you for your help



--
View this message in context: 
http://gnu-make.2324884.n4.nabble.com/assign-the-result-of-my-python-script-to-a-variable-of-my-makefile-tp16217.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]