debugger Makefile: use ocamlc.opt when available
On my machine the sequential build time goes from 3.7s to 1.3smaster
parent
56e57338f7
commit
986745cbbc
|
@ -17,19 +17,20 @@ ROOTDIR = ..
|
|||
|
||||
include $(ROOTDIR)/Makefile.config
|
||||
include $(ROOTDIR)/Makefile.common
|
||||
include $(ROOTDIR)/Makefile.best_binaries
|
||||
|
||||
DYNLINKDIR=$(ROOTDIR)/otherlibs/dynlink
|
||||
UNIXDIR=$(ROOTDIR)/otherlibs/$(UNIXLIB)
|
||||
CAMLRUN ?= $(ROOTDIR)/boot/ocamlrun
|
||||
CAMLYACC ?= $(ROOTDIR)/yacc/ocamlyacc$(EXE)
|
||||
|
||||
CAMLC=$(CAMLRUN) $(ROOTDIR)/ocamlc -g -nostdlib -I $(ROOTDIR)/stdlib
|
||||
CAMLC=$(BEST_OCAMLC) -g -nostdlib -I $(ROOTDIR)/stdlib
|
||||
COMPFLAGS=$(INCLUDES) -absname -w +a-4-9-41-42-44-45-48 -warn-error A \
|
||||
-safe-string -strict-sequence -strict-formats
|
||||
LINKFLAGS=-linkall -I $(UNIXDIR) -I $(DYNLINKDIR)
|
||||
YACCFLAGS=
|
||||
CAMLLEX=$(CAMLRUN) $(ROOTDIR)/boot/ocamllex
|
||||
CAMLDEP=$(CAMLRUN) $(ROOTDIR)/boot/ocamlc -depend
|
||||
CAMLLEX=$(BEST_OCAMLLEX)
|
||||
CAMLDEP=$(BEST_OCAMLDEP)
|
||||
DEPFLAGS=-slash
|
||||
DEPINCLUDES=$(INCLUDES)
|
||||
|
||||
|
|
Loading…
Reference in New Issue