diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,6 +1,4 @@
 # shake-ext
 
 Several extensions to [shake](http://shakebuild.com/), including facilities for
-building ATS and Haskell.
-
-This package is very much experimental at the moment.
+building ATS and Haskell, as well as various linters.
diff --git a/cabal.project.local b/cabal.project.local
--- a/cabal.project.local
+++ b/cabal.project.local
@@ -4,3 +4,7 @@
 documentation: True
 haddock-hoogle: True
 haddock-internal: True
+
+program-options
+  happy-options: -gcsa
+  alex-options: -g
diff --git a/shake-ext.cabal b/shake-ext.cabal
--- a/shake-ext.cabal
+++ b/shake-ext.cabal
@@ -1,7 +1,7 @@
 name:                shake-ext
-version:             0.2.0.1
+version:             0.2.0.2
 synopsis:            Helper functions for linting with shake 
-description:         This package provides several linters out of the box, as well as functionality for building ATS projects with [shake](http://shakebuild.com/).
+description:         This package provides several linters out of the box, as well as functionality for building ATS source files with [shake](http://shakebuild.com/).
 homepage:            https://hub.darcs.net/vmchale/shake-ext
 license:             BSD3
 license-file:        LICENSE
@@ -25,9 +25,9 @@
   exposed-modules:     Development.Shake.FileDetect
                      , Development.Shake.Linters
                      , Development.Shake.ATS
-  build-depends:       base >= 4.8 && < 5
+  build-depends:       base >= 4.10 && < 5
                      , shake
-                     , ats-format >= 0.2.0.2
+                     , language-ats 
   default-language:    Haskell2010
   if flag(development)
     ghc-options:       -Werror
diff --git a/src/Development/Shake/ATS.hs b/src/Development/Shake/ATS.hs
--- a/src/Development/Shake/ATS.hs
+++ b/src/Development/Shake/ATS.hs
@@ -2,6 +2,7 @@
 
 module Development.Shake.ATS ( cgen
                              , cgenPretty
+                             , cleanATS
                              ) where
 
 import           Control.Monad              (filterM)
@@ -14,6 +15,15 @@
 atsCommand :: CmdResult r => String -> String -> Action r
 atsCommand sourceFile out = command atsArgs "patsopt" ["--output", out, "-dd", sourceFile, "-cc"]
     where atsArgs = [EchoStderr False, AddEnv "PATSHOME" "/usr/local/lib/ats2-postiats-0.3.8"]
+
+cleanATS :: Rules ()
+cleanATS =
+
+    "clean" ~> do
+        cmd_ ["sn", "c"]
+        removeFilesAfter "." ["//*.c", "//tags"]
+        removeFilesAfter ".shake" ["//*"]
+        removeFilesAfter "ats-deps" ["//*"]
 
 -- | This provides rules for generating C code from ATS source files in the
 -- @ats-src@ directory.
