| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These are the makefile variables that influence Mosmake's operation. Some, but not all, of the variables will work even if they are set below the `include $(MOSMAKE)/Makefile.inc' line in `Makefile', but this manual does not document which are which. The best practise is to set all relevant variables at the top of `Makefile'.
$(EXEEXT)
mosmlc have that extension (i.e. on Microsoft OS'es), blank
otherwise. Usually you'll do this with an autoconf-produced
configure script; see 2.7.3 Mosmake and other makefile generators.
Setting $(EXEEXT) to `.exe' will also make Mosmake try to
use a "response file" via the `-files' option of
mosmlc when linking programs. This works around a buffer
overrun in the Win32 version of mosmlc in Moscow ML version
2.0. (A similar buffer overflow occurs when compiling a unit that
uses many other units; that has no workaround at present).
$(MOSMAKE)
$(MOSMAKE.xxx)
$(MOSMAKEDEPS)
$(MOSMAKEDIRS)
When $(MOSMAKEDIRS) is not set, a single `Dependencies' file
in the same directory as the master `Makefile' will be expected.
$(MOSMLC)
mosmlc is not in your search path
$(MOSMLC.xxx)
$(MOSMLFLAGS)
mosmlc by Mosmake. I use it to add `-liberal' to all
compilations.
$(MOSMLLEX)
mosmllex, usually just
`mosmllex'. See section 2.5.1 The mosmllex lexer generator.
$(MOSMLYAC)
mosmlyac, usually just
`mosmlyac'. See section 2.5.2 The mosmlyac parser generator.
$(PERL)
$(RM)
make sets this to `rm -f' by default;
usually there is no reason to change this, but many people prefer to
give this value explicitly at the beginning of `Makefile' for
documentation purposes.
$(SMARTMAKE)
make that is used is at
least 3.80. See section 2.2.6 The "smartmake" feature.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |