Skip to content

Instantly share code, notes, and snippets.

@erickt
Created January 19, 2010 22:49
Show Gist options
  • Save erickt/281393 to your computer and use it in GitHub Desktop.
Save erickt/281393 to your computer and use it in GitHub Desktop.
macros = []
includes = []
if test_1:
macros.append('test1')
includes.append('/usr/include')
if test_2:
macros.append('test2')
includes.append('/opt/local/include')
builder = gcc(macros=macros, includes=includes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment