git.annexia.org
/
ocaml-ancient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix to work against OCaml 3.08.3.
[ocaml-ancient.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
e51ff2f
..
41c3cee
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,10
+1,12
@@
# Mark objects as 'ancient' so they are taken out of the OCaml heap.
# Mark objects as 'ancient' so they are taken out of the OCaml heap.
-# $Id: Makefile,v 1.
8 2006-10-06 15:03:47
rich Exp $
+# $Id: Makefile,v 1.
9 2006-10-31 14:39:50
rich Exp $
include Makefile.config
CC := gcc
include Makefile.config
CC := gcc
-CFLAGS := -g -fPIC -Wall -Werror
+CFLAGS := -g -fPIC -Wall -Werror \
+ -DOCAML_VERSION_MAJOR=$(OCAML_VERSION_MAJOR) \
+ -DOCAML_VERSION_MINOR=$(OCAML_VERSION_MINOR)
OCAMLCFLAGS := -g
OCAMLCPACKAGES := -package unix
OCAMLCFLAGS := -g
OCAMLCPACKAGES := -package unix