https://github.com/EasyCrypt/easycrypt
Revision 0a6c7f81ae87168f9e068cc3c1396ff427bc71e6 authored by Benjamin Gregoire on 03 September 2019, 08:54:33 UTC, committed by Benjamin Gregoire on 03 September 2019, 08:55:55 UTC
1 parent a4fb49d
Raw File
Tip revision: 0a6c7f81ae87168f9e068cc3c1396ff427bc71e6 authored by Benjamin Gregoire on 03 September 2019, 08:54:33 UTC
Proving probability equal to 1/2 using prhl
Tip revision: 0a6c7f8
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