Skip to content

Instantly share code, notes, and snippets.

@jrossi
Created August 5, 2010 01:33
Show Gist options
  • Select an option

  • Save jrossi/509083 to your computer and use it in GitHub Desktop.

Select an option

Save jrossi/509083 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
#from waflib.Configure import conf
def build(ctx):
for i in ctx.path.ant_glob("*.c"):
print "- %s"%(i)
ctx.stlib(
source = ctx.path.ant_glob("*.c"),
include = ".",
export_incdirs = ".",
target = "z",
name='zlib-static',
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment