jack2 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
421B

  1. #!/usr/bin/env python
  2. # encoding: utf-8
  3. # Thomas Nagy, 2008-2010 (ita)
  4. "Detect as/gas/gcc for compiling assembly files"
  5. import waflib.Tools.asm # - leave this
  6. from waflib.Tools import ar
  7. def configure(conf):
  8. """
  9. Find the programs gas/as/gcc and set the variable *AS*
  10. """
  11. conf.find_program(['gas', 'gcc'], var='AS')
  12. conf.env.AS_TGT_F = ['-c', '-o']
  13. conf.env.ASLNK_TGT_F = ['-o']
  14. conf.find_ar()
  15. conf.load('asm')