https://github.com/EasyCrypt/easycrypt
Revision 15946aa3af5b8996e794ff490ae84c61fd6d3275 authored by Christian Doczkal on 24 October 2021, 09:36:02 UTC, committed by Pierre-Yves Strub on 16 November 2021, 17:35:04 UTC
1 parent e770f0f
Raw File
Tip revision: 15946aa3af5b8996e794ff490ae84c61fd6d3275 authored by Christian Doczkal on 24 October 2021, 09:36:02 UTC
use mu1 instead of mass in in Distr
Tip revision: 15946aa
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