31 lines
744 B
Makefile
31 lines
744 B
Makefile
## Paths are relative to subdirectories
|
|
## Where you compiled Objective Caml
|
|
TOPDIR=../../..
|
|
TOPDIRNT=..\..\..
|
|
## Where to find OCaml binaries
|
|
EXEDIR=$(TOPDIRNT)
|
|
## Path to the otherlibs subdirectory
|
|
OTHERS=../..
|
|
|
|
LIBNAME=mltk
|
|
|
|
!include $(TOPDIRNT)\config\Makefile.nt
|
|
|
|
INSTALLDIR=$(LIBDIR)\$(LIBNAME)
|
|
TKLINKOPT=$(STATIC)
|
|
|
|
## Tools from the Objective Caml distribution
|
|
|
|
CAMLRUN=$(EXEDIR)\boot\ocamlrun
|
|
CAMLC=$(CAMLRUN) $(TOPDIR)/ocamlc -I $(TOPDIR)/stdlib
|
|
CAMLCOMP=$(CAMLC) -labels -c
|
|
CAMLYACC=$(EXEDIR)\boot\ocamlyacc -v
|
|
CAMLLEX=$(CAMLRUN) $(TOPDIR)/boot/ocamllex
|
|
CAMLLIBR=$(CAMLC) -a
|
|
CAMLDEP=$(CAMLRUN) $(TOPDIR)/tools/ocamldep
|
|
COMPFLAGS=
|
|
LINKFLAGS=
|
|
|
|
CAMLOPT=$(CAMLRUN) $(TOPDIR)/ocamlopt -I $(TOPDIR)/stdlib -labels
|
|
CAMLOPTLIBR=$(CAMLOPT) -a
|