

> > Targets are 'main-module.depend', 'main-module.ints' and more. 
>I
> > want to know what is MAIN_TARGET in respect with other 
>targets. I
> > really cannot figure why is it needed?? and also how is it
> > used??
>
>I guess you are talking from the context of the content of a 
>Mmakefile.
>The structure of these Mmakefiles is exactly equivalent to the 
>structure
>of the Makefiles used by gmake or make. You can find out more 
>about it
>in the documentation of those programs.
>
>Now for your usage here, MAIN_TARGET should simply be the dummy 
>name of
>the first target mentioned in your Mmakefile.

Where does Mmakefile come into picture?? If I use mmake for a 
file1.m, it would be like...

mmake file1.depend
mmake file1

>Stating
>
>MAIN_TARGET = mainfile
>
>in your Mmakefile saves you some typework:
>
>instead of having to write
>
>mmake mainfile
>
>you can then simply write
>
>mmake

how do you create a Mmakefile... I really do not have any idea.


Noel
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users@cs.mu.oz.au
administrative address: owner-mercury-users@cs.mu.oz.au
unsubscribe: Address: mercury-users-request@cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request@cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------

