Commit 38068913 authored by niteria's avatar niteria
Browse files

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:
parent 6ea42c72
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment