BIN_DIR = /usr/local/bin
-REQUIRES = unix helm-cic helm-cic_textual_parser helm-mathql helm-mathql_interpreter helm-mquery_generator
+REQUIRES = unix helm-cic_textual_parser \
+ helm-mathql helm-mathql_interpreter helm-mathql_generator
PREDICATES =
OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
MQGTOP = mqgtop.ml
DEPOBJS = $(MQTOP) $(MQITOP) $(MQGTOP)
-AUXOBJS = mQGTopParser.ml mQGTopLexer.ml
+AUXOBJS = mQGTopParser.ml mQGTopParser.mli mQGTopLexer.ml
all: $(DEPOBJS:.ml=)
opt: $(DEPOBJS:.ml=.opt)
depend: $(AUXOBJS)
- $(OCAMLDEP) $(DEPOBJS) > .depend
+ $(OCAMLDEP) $(DEPOBJS) $(AUXOBJS) > .depend
mqtop: $(MQTOP:.ml=.cmo) $(LIBRARIES)
$(OCAMLC) -linkpkg -o mqtop $(MQTOP:.ml=.cmo)