From 9c0fc97de791ae7b1150d58bdfdfd90bdf9b0b3c Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Sat, 23 Feb 2013 14:43:53 -0800 Subject: [PATCH] Updated README.md --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) 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