GNU make file in ghc/utils folder

Ben Gamari ben at
Fri Feb 23 14:26:13 UTC 2018

"Chris R. Timmons" <chris at> 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:
> What am I not understanding?
I believe you need to add utils/testmake to the BUILD_SUBDIRS variable
in the root


- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <>

More information about the ghc-devs mailing list