     targets.forEach (target)=>
       build_vars = @compileDict target.main_inputs
 
+      target.rule = commandHash
+
       target.main_inputs =
         MistGlobber.doAllGlobs target.main_inputs, @mistDir
 

    @rootDir
    @registry.vars = @registry.vars || []
    @registry.rules = @registry.rules || {}
    @registry.targets = @registry.rules || []

    @commandDict = @compileCommandDict()
    @commandDictRefs = {}


        target.build_vars[d] = target.build_vars[d].join ' '

      target.main_inputs = target.main_inputs.join ' '
      target.dep_inputs = target.dep_inputs.join ' '
      target.order_inputs = target.order_inputs.join ' '
      target.main_outputs = target.main_outputs.join ' '
      target.aux_outputs = target.aux_outputs.join ' '

      console.log target
      @registry.targets.push target

  render: ->
    lines = []
