title: How to source a script in a Makefile?
body: <p>Is there a better way to source a script, which sets env vars, from within a makefile?</p>
  
  <pre><code>FLAG ?= 0
  ifeq ($(FLAG),0)
  export FLAG=1
  /bin/myshell -c '&lt;source scripts here&gt; ; $(MAKE) $@'
  else
  ...targets...
  endif
  </code></pre>