Revision 5e06824340dbecd78d36e3ddde952e505e85061f authored by Pierre-Yves Strub on 27 April 2018, 12:07:39 UTC, committed by Pierre-Yves Strub on 27 April 2018, 12:07:39 UTC
2 parent s 8097492 + aa75b1d
Raw File
Makefile
# -*- Makefile -*-

# --------------------------------------------------------------------
OCAMLBUILD_BIN   = ocamlbuild -use-ocamlfind
OCAMLBUILD_EXTRA = -classic-display

# In Emacs, use classic display to enable error jumping.
ifeq ($(shell echo $$TERM), dumb)
 OCAMLBUILD_EXTRA += -classic-display
endif
OCAMLBUILD := $(OCAMLBUILD_BIN) $(OCAMLBUILD_EXTRA)

# --------------------------------------------------------------------
.PHONY: all clean

all:
	$(OCAMLBUILD) ppx_lint.native

clean:
	$(OCAMLBUILD) -clean
	rm -f ppx_lint.native* ppx_lint.byte*
back to top