28 lines
674 B
Makefile
28 lines
674 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=
|
|
CAMLOPTLIBR=$(CAMLOPT) -a
|
|
MKLIB=$(CAMLRUN) $(TOPDIR)/tools/ocamlmklib
|
|
CAMLRUNGEN=../../boot/ocamlrun
|