https://github.com/EasyCrypt/easycrypt
Revision edd02d094efcc52a75bb89ebabace7f7455a9d1d authored by François Dupressoir on 18 May 2021, 22:22:35 UTC, committed by François Dupressoir on 18 May 2021, 22:22:47 UTC
He has risen!

Authored by Benjamin Grégoire and Cécile Baritel-Ruet.

Co-Authored-By: Benjamin Grégoire <benjamin.gregoire@inria.fr>
Co-Authored-By: Cécile Baritel-Ruet <cecile.baritel-ruet@inria.fr>
1 parent 8774376
Raw File
Tip revision: edd02d094efcc52a75bb89ebabace7f7455a9d1d authored by François Dupressoir on 18 May 2021, 22:22:35 UTC
ChaCha-Poly x Easter
Tip revision: edd02d0
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