https://github.com/EasyCrypt/easycrypt
Revision 1a8d60a54ed744aadf8f998c8c3acadaf2198ec8 authored by Pierre-Yves Strub on 26 March 2020, 18:26:21 UTC, committed by Pierre-Yves Strub on 26 March 2020, 18:26:21 UTC
This reverts commit 11a875951d0f94381b22b362ddf8b0cc18f77886.
1 parent 2a5b4f6
Raw File
Tip revision: 1a8d60a54ed744aadf8f998c8c3acadaf2198ec8 authored by Pierre-Yves Strub on 26 March 2020, 18:26:21 UTC
Revert "better conversion + simplify reduction algorithm."
Tip revision: 1a8d60a
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