summaryrefslogtreecommitdiff
path: root/chip/make
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-09-02 21:42:55 -0700
committerBen Sima <ben@bsima.me>2019-09-02 21:42:55 -0700
commit9af1370c102ff2873d8270a10c41cd7e87ecbfe1 (patch)
treed49161f0847af173d444bbd3f28bb3dfa9653d1f /chip/make
parent828a6131231bca4b805ca2c4dca2e85b17508bcf (diff)
[chip/make] put build artifacts in separate dirs
Diffstat (limited to 'chip/make')
-rwxr-xr-xchip/make3
1 files changed, 2 insertions, 1 deletions
diff --git a/chip/make b/chip/make
index d1d8b35..b24b62e 100755
--- a/chip/make
+++ b/chip/make
@@ -86,8 +86,9 @@ data App = App
, entrypoint :: String
}
+-- | common build options.
ghcopts :: String
-ghcopts = "-odir bild/ -hidir bild/ -Wall"
+ghcopts = "-odir bild/o -hidir bild/hi -Wall"
-- | compile with ghc.
apex :: App -> IO ()