   defaults =
     microflo: './node_modules/.bin/microflo'
     target: 'linux'
-    out: "build/#{options.target||'linux'}/#{name}/#{name}.cpp"
+    out: "build/#{options.target||'linux'}/#{name}/#{name}.#{options.ext||'cpp'}"
     graph: "graphs/#{name}.fbp"
     library: "./components-#{name}.json"
   for k,v of defaults

    '-hardware', path.join(options.arduino, 'hardware')
    '-tools', path.join(options.arduino, 'tools-builder'),
    '-tools ', path.join(options.arduino, 'hardware', 'tools')
    '-fqbn', options.board,
    options.sketch
  ]

    # "$(node build.js build/arduino/PortalLights/PortalLights.cpp)"

    exec:
      tablelights_arduino_gen: microflo_gen 'TableLights', { target: 'arduino' }
      tablelights_arduino_build: arduino_build 'TableLights', { board: 'energia:tivac:EK-TM4C123GXL' }
      tablelights_linux_gen: microflo_gen 'TableLights' 
      tablelights_linux_comp: microflo_compile 'TableLights'
      tablelights_run: './spec/microflo-linux.sh TableLights 4444 & sleep 5'
