A handy Makefile for OCaml projects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Glenn Y. Rolland 9c0fc97de7 Updated README.md 10 years ago
examples Added example makefile (from the 'dow' project). 11 years ago
.gitignore Initial commit 11 years ago
COPYING Added BSD licence. 11 years ago
OCaml.mk Updated comments. 11 years ago
README.md Updated README.md 10 years ago

README.md

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