Revision d8499326139cfdb8d75daf34d45966ae18c2015f authored by Pierre-Yves Strub on 21 November 2017, 09:10:39 UTC, committed by Pierre-Yves Strub on 21 November 2017, 09:10:39 UTC
2 parent s ae2b8b8 + 29eb9b0
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