28 lines
723 B
Makefile
28 lines
723 B
Makefile
## Paths are relative to subdirectories
|
|
## Where you compiled Objective Caml
|
|
TOPDIR=../../..
|
|
## Path to the otherlibs subdirectory
|
|
OTHERS=../..
|
|
|
|
LIBNAME=labltk
|
|
|
|
include $(TOPDIR)/config/Makefile
|
|
|
|
INSTALLDIR=$(LIBDIR)/$(LIBNAME)
|
|
|
|
## Tools from the Objective Caml distribution
|
|
|
|
CAMLRUN=$(TOPDIR)/boot/ocamlrun
|
|
CAMLC=$(TOPDIR)/ocamlcomp.sh
|
|
CAMLOPT=$(TOPDIR)/ocamlcompopt.sh
|
|
CAMLCOMP=$(CAMLC) -c -warn-error A
|
|
CAMLYACC=$(TOPDIR)/boot/ocamlyacc -v
|
|
CAMLLEX=$(CAMLRUN) $(TOPDIR)/boot/ocamllex
|
|
CAMLLIBR=$(CAMLC) -a
|
|
CAMLDEP=$(CAMLRUN) $(TOPDIR)/tools/ocamldep
|
|
COMPFLAGS=
|
|
LINKFLAGS=
|
|
DLLPATH=`if $(SUPPORTS_SHARED_LIBRARIES); then echo -dllpath $(INSTALLDIR); fi`
|
|
CAMLOPTLIBR=$(CAMLOPT) -a
|
|
MKLIB=$(CAMLRUN) $(TOPDIR)/tools/ocamlmklib
|