https://github.com/EasyCrypt/easycrypt
Revision 4b604bf5dd2db47995c790f8ea103a0306b54482 authored by Christian Doczkal on 04 November 2021, 14:52:23 UTC, committed by Pierre-Yves Strub on 16 November 2021, 17:35:04 UTC
1 parent ab62416
Raw File
Tip revision: 4b604bf5dd2db47995c790f8ea103a0306b54482 authored by Christian Doczkal on 04 November 2021, 14:52:23 UTC
renamings: dletE[_swap] -> dlet_muE[_swap] and dletE_mu -> dletE
Tip revision: 4b604bf
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