diff --git a/README.md b/README.md index 3e82059..f7caf6f 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,37 @@ ocaml-meka A handy Makefile for OCaml projects +Usage example : + + # list of created binaries + PROGRAMS=dow + + # program-specific list of objects + dow_OBJS= \ + GuiHttp \ + Storage \ + StorageFile \ + StorageSqlite3 \ + WikiHandler \ + WikiHandlerEdit \ + WikiHandlerView \ + WikiEngine \ + HttpTypes \ + HttpRequest \ + HttpAnswer \ + HttpHandler \ + Http \ + Document \ + Main + + # program-specific includes + dow_INCS=-I +lablgtk2 + + # program-specific libraries + dow_LIBS=unix threads lablgtk + + # global options (used for everything in PROGRAMS) + OPTS=-w A -warn-error A -g -thread + + # The most important line ;-) + include OCaml.mk