https://github.com/EasyCrypt/easycrypt
Revision b6a4d3a2a143acbb3d71aa17f0e8ff7fa09d0690 authored by Pierre-Yves Strub on 01 October 2019, 14:26:02 UTC, committed by Pierre-Yves Strub on 01 October 2019, 19:49:59 UTC
1 parent 4860685
Raw File
Tip revision: b6a4d3a2a143acbb3d71aa17f0e8ff7fa09d0690 authored by Pierre-Yves Strub on 01 October 2019, 14:26:02 UTC
Docker: bump Z3 version
Tip revision: b6a4d3a
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