diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/users_guide/separate_compilation.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/users_guide/separate_compilation.rst b/docs/users_guide/separate_compilation.rst index 2e4a0df1e2..64e6590942 100644 --- a/docs/users_guide/separate_compilation.rst +++ b/docs/users_guide/separate_compilation.rst @@ -1297,7 +1297,7 @@ following to your ``Makefile``: .. code-block:: make depend : - ghc -dep-suffix '' -M $(HC_OPTS) $(SRCS) + ghc -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 @@ -1401,8 +1401,7 @@ generation are: Multiple ``-dep-suffix`` flags are permitted. For example, ``-dep-suffix a_ -dep-suffix b_`` will make dependencies for ``.hs`` on ``.hi``, ``.a_hs`` on ``.a_hi``, and ``.b_hs`` on ``.b_hi``. - Note that you must provide at least one suffix; if you do not want a suffix - then pass ``-dep-suffix ''``. + If you do not use this flag then the empty suffix is used. .. ghc-flag:: --exclude-module=⟨file⟩ :shortdesc: Regard ``⟨file⟩`` as "stable"; i.e., exclude it from having |
