https://github.com/EasyCrypt/easycrypt
Revision f2bcd4210526605416439fb207c3e7ee468cff49 authored by Pierre-Yves Strub on 01 October 2019, 20:12:36 UTC, committed by Pierre-Yves Strub on 01 October 2019, 20:12:36 UTC
1 parent b6a4d3a
Raw File
Tip revision: f2bcd4210526605416439fb207c3e7ee468cff49 authored by Pierre-Yves Strub on 01 October 2019, 20:12:36 UTC
README: add a note about installing external deps for provers
Tip revision: f2bcd42
Makefile.system
# -*- Makefile -*-

# --------------------------------------------------------------------
OCAML    := $(shell ocamlbuild -which ocamlc 2>/dev/null || echo false)
CC       := gcc
TAR      := tar
MACHINE  := $(shell $(OCAML) -ccopt -dumpmachine dummy.c 2>/dev/null)
UNAME    := $(shell uname -s)
EXE      :=

ifneq (,$(findstring CYGWIN,$(UNAME)))
  CC := $(MACHINE)-gcc
endif

ifneq (,$(findstring Darwin,$(UNAME)))
  TAR := gtar
endif

ifneq (,$(findstring mingw,$(MACHINE)))
EXE := .exe
endif

ifneq (,$(findstring cygwin,$(MACHINE)))
EXE := .exe
endif
back to top