A handy Makefile for OCaml projects
Find a file
2013-02-23 14:43:53 -08:00
examples Added example makefile (from the 'dow' project). 2012-07-17 03:09:04 +02:00
.gitignore Initial commit 2012-07-16 17:44:08 -07:00
COPYING Added BSD licence. 2012-07-17 03:09:59 +02:00
OCaml.mk Updated comments. 2012-07-17 03:04:03 +02:00
README.md Updated README.md 2013-02-23 14:43:53 -08:00

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