diff options
author | Bartosz Nitka <niteria@gmail.com> | 2016-04-01 13:03:17 -0700 |
---|---|---|
committer | Bartosz Nitka <niteria@gmail.com> | 2016-04-01 14:01:10 -0700 |
commit | 38068913c13fa64bd776fab6cf0e971c1a18b54d (patch) | |
tree | c3333dba833dadd8affecf3c58acba530e136bb5 /docs | |
parent | 6ea42c72dc924eddba3f2ee22fa4e514084fa5cc (diff) | |
download | haskell-38068913c13fa64bd776fab6cf0e971c1a18b54d.tar.gz |
Make the example for -M work
`ghc` fails without `-dep-suffix ''`.
Test Plan: visual inspection
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: thomie, simonmar
Differential Revision: https://phabricator.haskell.org/D2075
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/separate_compilation.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/separate_compilation.rst b/docs/users_guide/separate_compilation.rst index c0d42e9c24..d5fcd9c813 100644 --- a/docs/users_guide/separate_compilation.rst +++ b/docs/users_guide/separate_compilation.rst @@ -846,7 +846,7 @@ following to your ``Makefile``: .. code-block:: make depend : - ghc -M $(HC_OPTS) $(SRCS) + ghc -dep-suffix '' -M $(HC_OPTS) $(SRCS) Now, before you start compiling, and any time you change the ``imports`` in your program, do ``make depend`` before you do ``make cool_pgm``. The command |