[mercury-users] Make/Mmake/mmc

Tomas By tomas at basun.net
Fri Nov 24 20:31:28 AEDT 2006


Hello antipodeans,

A couple of make-related questions:

What is the best way to generate .mh files for C inclusion. I have:

.m.mh:
	mmc --make-int $*

which seems to work, but am not sure if that is the right way.

If I have multiple binaries (written in Mercury) that all include
different pieces of C code, how do I specify those (C source) object files
to the linker?

I suppose I can have separate explicit make rules for each binary, but
there ought to be a simpler solution.

Can I have Mercury-module-specific extra Mmake files or something?

/Tomas


--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list