~and471/+junk/symphony

« back to all changes in this revision

Viewing changes to .waf-1.6.4-94138e6586b104e469dcc9ef3d05ceda/waflib/Tools/nasm.py

  • Committer: rugby471 at gmail
  • Date: 2011-05-09 17:08:11 UTC
  • Revision ID: rugby471@gmail.com-20110509170811-6rzvxcogph9kr35t
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /usr/bin/env python
2
 
# encoding: utf-8
3
 
# WARNING! All changes made to this file will be lost!
4
 
 
5
 
import waflib.Tools.asm
6
 
from waflib.TaskGen import feature
7
 
def apply_nasm_vars(self):
8
 
        self.env.append_value('ASFLAGS',self.to_list(getattr(self,'nasm_flags',[])))
9
 
def configure(conf):
10
 
        nasm=conf.find_program(['nasm','yasm'],var='AS')
11
 
        conf.env.AS_TGT_F='-o'
12
 
 
13
 
feature('asm')(apply_nasm_vars)
 
 
b'\\ No newline at end of file'