ocaml/otherlibs/labltk/support/Makefile.common.nt

30 lines
704 B
Makefile

## Paths are relative to subdirectories
## Where you compiled Objective Caml
TOPDIR=../../..
## Where to find OCaml binaries
EXEDIR=$(TOPDIR)
## Path to the otherlibs subdirectory
OTHERS=../..
LIBNAME=labltk
include $(TOPDIR)/config/Makefile
INSTALLDIR=$(LIBDIR)/$(LIBNAME)
TKLINKOPT=$(STATIC)
## Tools from the Objective Caml distribution
CAMLRUN=$(EXEDIR)/boot/ocamlrun
CAMLC=$(CAMLRUN) $(TOPDIR)/ocamlc -I $(TOPDIR)/stdlib
CAMLCOMP=$(CAMLC) -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
CAMLOPTLIBR=$(CAMLOPT) -a