     return false if sources.length == 0
     compiled = (c for s, c of map)
 
-    if options.atomic
-      for s, c of map
-        file c, [s], (->
-          compile @prereqs, path.dirname(@name), -> complete()
-        ), async: true
+    for s, c of map
+      file c, [s], (->
+        compile @prereqs[0], @name, -> complete()
+      ), async: true
 
     Tintan.$.onTaskNamespace options.name, (name)->
       desc "Compile coffee-script sources into #{options.target}"
-      if options.atomic
-        task name, compiled, (->
-          console.log 'compiled'.green + ' coffee-script sources into ' + options.target
-        ), async: true
-      else
-        task name, (->
-          console.log 'compile'.bold + ' coffee-script sources into ' + options.target
-          jake.mkdirP(path.dirname c) for c in compiled
-          compile [from], target, -> complete()
-        ), async: true
+      task name, compiled, ->
+        console.log 'compiled'.green + ' coffee-script sources into ' + options.target
 
     Tintan.$.onTaskNamespace options.name + ':clean', ->
       desc "Clean coffee-script produced files from #{options.target}"

  DEFAULT_OPTIONS =
    src: 'src/coffee'        # directory to take .coffee files from
    target: 'Resources'      # directory to put .js files into
    atomic: false            # should create a file task for each .js target?
    name: 'compile:coffee'   # name of the compiler task to generate



require 'colors'
fs     = require 'fs'
path   = require 'path'
coffee = require 'coffee-script'
spawn  = require('child_process').spawn

Tintan = null

