PROGRAMMING information for Moonlight Creator
March 2 1998
---------------------------------------------

Use "make" for building an optimized-version.

Use "make MOONLIGHT_DEV=yes" for building a developer's version. (it is
not running full-screen and you can exit by pressing
<ctrl><alt><key_pad_delete>)

You can also use an environment variable:

  export MOONLIGHT_DEV=yes
  make

When compiling an optimized version:

  make MOONLIGHT_DEV=""

If you really want to add a "-g" flag, use "make debug=yes".

Edit the src/modules file for enabling modules.

If you want to set up a new module, read the "tmpl" module sources.
Use the "src/tmpl/replace_tmpl_names" for creating a new source
tree for the tmpl tree.

The objects files, the libraries and the final binaries are recorded
in $target_os/$dev_opt/ directories.

  $target_os is your target OS.
  $dev_opt equals "dev" for a developer's version,
                  "opt" for a final optimized version.


If you want to link from a directory, use "make _ml"

Dialogs are built with the "KBuilder" module. They read/write a .dlg
file. They generate a .h and a .C file. See source code...

March 2 1998
/Stephane.
