Follow change in GHC make file generation for shake.
authorDavid Terei <davidterei@gmail.com>
Mon, 4 Mar 2013 09:25:41 +0000 (01:25 -0800)
committerDavid Terei <davidterei@gmail.com>
Mon, 4 Mar 2013 09:25:41 +0000 (01:25 -0800)
Nofib.hs

index e179d05..41b5661 100644 (file)
--- a/Nofib.hs
+++ b/Nofib.hs
@@ -238,7 +238,7 @@ buildRules r Build{..} = do
     "//Main.deps" *> \out -> do
         let dir = unoutput out
         config <- readConfig' $ takeDirectory out </> "config.txt"
-        system' compiler $ ["-w","-M",dir </> config "MAIN","-i" ++ dir,"-dep-makefile=" ++ out] ++
+        system' compiler $ ["-w","-M",dir </> config "MAIN","-i" ++ dir,"-dep-makefile=" ++ out, "-dep-suffix", ""] ++
                            words (config "SRC_HC_OPTS")
         src <- liftIO $ readFile out
         need [x | x <- words src, takeExtension x `elem` [".hs",".lhs",".h"]]