Commit 28360015 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Comments in Makefile

parent d22152d8
......@@ -19,4 +19,9 @@ rn.prog006:
@$(TEST_HC) --make -package-name test-1.0 B.C -no-recomp -v0
@sed "s@__IMPORT__@`pwd`@" < >pkg.conf
@$(TEST_HC) -c -package-conf pkg.conf -package test -no-recomp A.hs -i
# The -i clears the search path, so A.hs will find B.C from package test
-@$(TEST_HC) -c -package-conf pkg.conf -package test -no-recomp Main.hs
# No -i when compiling Main, so a from-scratch search would find a home-pkg module B.C
# However, A.hi remembers that B.C came from package test, so all is ok.
Markdown is supported
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