https://github.com/EasyCrypt/easycrypt
Revision 97fe4dff94735a46856f18588aa2a511946f4d36 authored by François Dupressoir on 06 July 2021, 09:30:36 UTC, committed by François Dupressoir on 06 July 2021, 09:30:36 UTC
1 parent 88f1e49
Raw File
Tip revision: 97fe4dff94735a46856f18588aa2a511946f4d36 authored by François Dupressoir on 06 July 2021, 09:30:36 UTC
Clean some SMT calls in PRP-PRF
Tip revision: 97fe4df
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