1 #pad: was called Makefile.deb-pycaml before
3 OCAMLMAKEFILE
= OCamlMakefile
4 PY_PREFIX
= $(shell python getprefix.py
)
5 PY_VERSION
= $(shell python getversion.py
)
6 CLIBS
= python
$(PY_VERSION
) pthread dl util m c
8 SOURCES
= pycaml.ml pycaml_ml.c
14 LIBDIRS
= $(PY_PREFIX
)/lib
/python
$(PY_VERSION
)/config
15 INCDIRS
= $(PY_PREFIX
)/include/python
$(PY_VERSION
)
16 OCAMLLDFLAGS
= -linkall
18 all.opt
: native-code-library pycaml.customtop
22 pycaml.customtop
: byte-code-library
23 cp
-f dllpycaml_stubs.so ..
/
24 ocamlmktop
-o pycaml.customtop pycaml.cma
27 rm -f pycaml.customtop
31 depend
: # added by julia, undoubtedly wrong
33 -include $(OCAMLMAKEFILE
)