https://github.com/EasyCrypt/easycrypt
Revision 350728be0758ddf750e64d0c4056a1ddb14d24ee authored by Benjamin Gregoire on 12 September 2019, 18:05:03 UTC, committed by Benjamin Gregoire on 12 September 2019, 20:35:16 UTC
1 parent 0f3ebba
Raw File
Tip revision: 350728be0758ddf750e64d0c4056a1ddb14d24ee authored by Benjamin Gregoire on 12 September 2019, 18:05:03 UTC
add hash colision resistant assumption
Tip revision: 350728b
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