https://github.com/EasyCrypt/easycrypt
Revision 2afb775be1173eb4ff8aae7993277d0652575273 authored by Pierre-Yves Strub on 14 April 2021, 15:27:25 UTC, committed by Pierre-Yves Strub on 14 April 2021, 15:27:25 UTC
1 parent 5df6a6f
Raw File
Tip revision: 2afb775be1173eb4ff8aae7993277d0652575273 authored by Pierre-Yves Strub on 14 April 2021, 15:27:25 UTC
StdLib: funi + same weight => eq
Tip revision: 2afb775
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