Using ozmake

We now have an application that consists of a main functor Main.oz and the data file Data.oz. We can use ozmake to build and install it.

First, we write makefile.oz to describe our application to ozmake:
makefile.oz
makefile(
   lib   : ['Main.ozf 'Data.ozf']
   uri   : 'x-ozlib://duchier/DataApp'
   mogul : 'mogul:/duchier/gslt/DataApp')
Then, we invoke ozmake to build and install it:
ozmake --verbose --install
Finally, we can invoke it:
ozengine x-ozlib://duchier/DataApp/Main.ozf