https://github.com/EasyCrypt/easycrypt
Tip revision: 9f6a2f9c698e6c47fa841a0b040bc45d82a601c5 authored by Benjamin Gregoire on 07 July 2016, 06:32:45 UTC
add make
add make
Tip revision: 9f6a2f9
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*