ocaml/otherlibs/labltk/support/Makefile.common

28 lines
730 B
Makefile
Raw Normal View History

## Paths are relative to subdirectories
## Where you compiled Objective Caml
TOPDIR=../../..
## Path to the otherlibs subdirectory
OTHERS=../..
include $(TOPDIR)/config/Makefile
LABLTKDIR=$(LIBDIR)/labltk
TKLINKOPT=$(STATIC) \
-ccopt -L../support -ccopt -L$(OTHERS)/str -ccopt -L$(OTHERS)/unix
## Tools from the Objective Caml distribution
CAMLRUN=$(TOPDIR)/boot/ocamlrun
LABLC=$(CAMLRUN) $(TOPDIR)/ocamlc -I $(TOPDIR)/stdlib
LABLCOMP=$(LABLC) -labels -c
LABLYACC=$(TOPDIR)/boot/ocamlyacc -v
LABLLEX=$(CAMLRUN) $(TOPDIR)/boot/ocamllex
LABLLIBR=$(LABLC) -a
LABLDEP=$(CAMLRUN) $(TOPDIR)/tools/ocamldep
COMPFLAGS=
LINKFLAGS=
CAMLOPT=$(CAMLRUN) $(TOPDIR)/ocamlopt -I $(TOPDIR)/stdlib -labels
CAMLOPTLIBR=$(CAMLOPT) -a