Add makeBuilderArgs.
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Tue, 10 May 2016 00:07:25 +0000 (01:07 +0100)
committerAndrey Mokhov <andrey.mokhov@gmail.com>
Tue, 10 May 2016 00:07:25 +0000 (01:07 +0100)
src/Settings/Builders/Make.hs [new file with mode: 0644]

diff --git a/src/Settings/Builders/Make.hs b/src/Settings/Builders/Make.hs
new file mode 100644 (file)
index 0000000..85f16ac
--- /dev/null
@@ -0,0 +1,11 @@
+module Settings.Builders.Make (makeBuilderArgs) where\r
+\r
+import Expression\r
+import Predicates (builder)\r
+import Settings\r
+\r
+makeBuilderArgs :: Args\r
+makeBuilderArgs = mconcat\r
+    [ builder (Make "testsuite/tests") ? arg "fast"\r
+    , builder (Make gmpBuildPath     ) ? arg "MAKEFLAGS="\r
+    , builder (Make libffiBuildPath  ) ? append ["MAKEFLAGS=", "install"] ]\r