On 2/23/2018 8:26 AM, Ben Gamari wrote:
"Chris R. Timmons" <[email protected]> writes:
I'm trying to add a new utility to the $(TOP)/ghc/utils folder. The
utility has a make file, but I can't seem to get it to play nice with
GHC's build system. The error I receive is "No rule to make target...".
Here's a simple test environment that demonstrates the problem:
snip
What am I not understanding?
I believe you need to add utils/testmake to the BUILD_SUBDIRS variable
in the root ghc.mk.
Cheers,
- Ben
That did the trick.
I somehow stumbled upon
https://ghc.haskell.org/trac/ghc/wiki/Attic/Building/BuildSystem/New,
and was using that as a guide. It looks like I missed reading
https://ghc.haskell.org/trac/ghc/wiki/Building/Modifying, where
BUILD_DIRS is documented. My bad.
Thanks for the quick response.
Chris.
_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs