28 lines
730 B
Makefile
28 lines
730 B
Makefile
## 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) -modern -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 -modern
|
|
CAMLOPTLIBR=$(CAMLOPT) -a
|