Revision 7fcfa1dcb47fbdd6810d94e23aa70ca592cef8fb authored by Christian Doczkal on 21 October 2021, 14:21:07 UTC, committed by Pierre-Yves Strub on 04 November 2021, 10:00:49 UTC
1 parent f1d2f19
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