         add heading, rule
     else
       @error "File '#{f}' does not exist!"
+    @
 
   error: (msg)->
     @echo msg


  setup: (s)-> s?.apply @; @

  setupMakefile: (f)->
    # Setup a Makefile with traditional syntax.  Only a subset of the syntax is currently supported.
    if @fs.existsSync f
      try

    if !@makefiles? and @defaultMakefile?
      @makefiles = [ @defaultMakefile ]
    if @makefiles?
      @loadMakefile x for x in @makefiles
    unless @toMake?
      lastTarget = null
      lastTarget = k for k,v of @targets
