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.

20 lines
363B

  1. #!/usr/bin/env python
  2. # encoding: utf-8
  3. # Thomas Nagy, 2010 (ita)
  4. """
  5. Erlang support
  6. """
  7. from waflib import TaskGen
  8. TaskGen.declare_chain(name = 'erlc',
  9. rule = '${ERLC} ${ERLC_FLAGS} ${SRC[0].abspath()} -o ${TGT[0].name}',
  10. ext_in = '.erl',
  11. ext_out = '.beam')
  12. def configure(conf):
  13. conf.find_program('erlc', var='ERLC')
  14. conf.env.ERLC_FLAGS = []