Hi mahmoodn, You question is off topic for this forum. This is a GCC forum. Your question is a Make question. I do not say this to chastise. I mention it so that you may ask your question on the appropriate forum, so as to get answers from people who are more familiar with that domain -- and as such the answers will probably be more quickly answered and more accurately answered. That being said... You should read the documentation on Make on how it uses environment variables. 6.9 Variables from the Environment http://www.gnu.org/software/make/manual/html_node/Environment.html You should also verify that your environment variables are exported. If they are not exported, then they are not visible to child processes. HTH, --Eljay