[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
issue when using MAKEFILES variable
From: |
jean-luc malet |
Subject: |
issue when using MAKEFILES variable |
Date: |
Fri, 30 Oct 2009 12:23:38 +0100 |
hi!
I face issue when using MAKEFILES variable
this variable is set into a toplevel makefile and contain only
export varname=varvalue
lines
then submake is called into rules like this
target :
MAKEFILES=theconffile ${MAKE} -C the/component/path -f Makefile target
into the/component/path/Makefile
I have several include, some targets....
and
$(warning ${VAR})
$(warning ${MAKEFILE_LIST})
$(warning ${MAKEFILES})
where VAR is a variable found only in theconffile
MAKEFILE_LIST and MAKEFILES warning show correct behaviour :
theconfile is first makefile read then Makefile is....
VAR warning is correct, thus I think that the behaviour in correct....
BUT all targets fails
there is a target todo: into the Makefile
and make complain about not knowing how to do todo....
HOWEVER if I do
include theconffile
into Makefile
and run sub make with
${MAKE} -C the/component/path -f Makefile target
then it works.......
I'm puzzled....
thanks a lot
JLM
--
KISS! (Keep It Simple, Stupid!)
(garde le simple, imbécile!)
"mais qu'est-ce que tu m'as pondu comme usine à gaz? fait des choses
simples et qui marchent, espèce d'imbécile!"
-----------------------------
"Si vous pensez que vous êtes trop petit pour changer quoique ce soit,
essayez donc de dormir avec un moustique dans votre chambre." Betty
Reese
http://www.grainesdechangement.com/citations.htm
- issue when using MAKEFILES variable,
jean-luc malet <=