diff --git a/shakers.cabal b/shakers.cabal
--- a/shakers.cabal
+++ b/shakers.cabal
@@ -1,5 +1,5 @@
 name:                  shakers
-version:               0.0.41
+version:               0.0.42
 synopsis:              Shake helpers.
 description:           Primitive helpers for Shake files.
 homepage:              https://github.com/swift-nav/shakers
diff --git a/src/Development/Shakers.hs b/src/Development/Shakers.hs
--- a/src/Development/Shakers.hs
+++ b/src/Development/Shakers.hs
@@ -346,7 +346,7 @@
     alwaysRerun
     let f k v = "-D" <> k <=> v
     macros' <- macros
-    content <- m4 $ file : (uncurry f <$> macros')
+    content <- m4 $ (uncurry f <$> macros') <> [file]
     writeFileChanged out content
 
 -- | Build a hash version from a directory and file pattern.
