| << Prev | - Up - | Next >> |
naive-makefile.ozLet us now take advantage of ozmake and turn NaiveClosure.ozf and NaiveParser.ozf into libraries available through a package. To this end, we must write a makefile which we will place in a file called naive-makefile.oz.
makefile(
lib : ['NaiveClosure.ozf' 'NaiveParser.ozf']
uri : 'x-ozlib://oz-kurs/naive'
mogul : 'mogul:/oz-kurs/denys/naive'
author : 'Denys Duchier')We can now install our libraries as follows:
ozmake --install --makefile=naive-makefile.oz which illustrates another feature of ozmake, namely the possibility to specify a makefile other than the default makefile.oz using a --makefile option argument. We can also create a package denys-naive.pkg as follows:
ozname --create --makefile=naive-makefile.oz --package=denys-naive.pkg
| << Prev | - Up - | Next >> |