diff options
author | Andrew Cady <d@jerkface.net> | 2015-12-17 21:56:11 -0500 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2015-12-17 21:56:11 -0500 |
commit | d95617e806181713546d4d6d3864e9a01004fc86 (patch) | |
tree | 1c801ff7d1ab17de5259ace19f41db6b3963121b | |
parent | 8bfbb21ec9651333e103477eacc119052dca5b78 (diff) |
Fix cabal builds
NB. Cabal has sanity-destroying (undocumented?) restriction: cannot have
a .c source with the same basename as a .hs source.
TODO: make cabal output a syntax error (instead of an inscrutable linker
error!) when the user attempts this. Or, at least, file a bug report.
-rw-r--r-- | alsa_shut_up.c (renamed from AlsaShutUp.c) | 0 | ||||
-rw-r--r-- | axis-of-eval.cabal | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/AlsaShutUp.c b/alsa_shut_up.c index 1d38891..1d38891 100644 --- a/AlsaShutUp.c +++ b/alsa_shut_up.c | |||
diff --git a/axis-of-eval.cabal b/axis-of-eval.cabal index 852d040..7042669 100644 --- a/axis-of-eval.cabal +++ b/axis-of-eval.cabal | |||
@@ -22,6 +22,7 @@ executable axis | |||
22 | main-is: axis.hs | 22 | main-is: axis.hs |
23 | ghc-options: -threaded -W -Wall -O2 | 23 | ghc-options: -threaded -W -Wall -O2 |
24 | other-modules: AlsaSeq, AlsaShutUp | 24 | other-modules: AlsaSeq, AlsaShutUp |
25 | c-sources: alsa_shut_up.c | ||
25 | 26 | ||
26 | executable rtq | 27 | executable rtq |
27 | default-language: Haskell2010 | 28 | default-language: Haskell2010 |
@@ -42,3 +43,4 @@ executable midi-dump | |||
42 | main-is: midi-dump.hs | 43 | main-is: midi-dump.hs |
43 | other-modules: AlsaSeq, Midi, RealTimeQueue, AlsaShutUp | 44 | other-modules: AlsaSeq, Midi, RealTimeQueue, AlsaShutUp |
44 | ghc-options: -threaded -W -Wall -O2 -rtsopts | 45 | ghc-options: -threaded -W -Wall -O2 -rtsopts |
46 | c-sources: alsa_shut_up.c | ||