https://github.com/EasyCrypt/easycrypt
Tip revision: 4cf35824c24f8da90eb1c00762192f06453e9acf authored by Pierre-Yves Strub on 31 May 2018, 13:00:17 UTC
Docker image: bump OCaml version to 4.04.0
Docker image: bump OCaml version to 4.04.0
Tip revision: 4cf3582
Makefile.system
# -*- Makefile -*-
# --------------------------------------------------------------------
OCAML := $(shell ocamlbuild -which ocamlc 2>/dev/null || echo false)
CC := gcc
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 mingw,$(MACHINE)))
EXE := .exe
endif
ifneq (,$(findstring cygwin,$(MACHINE)))
EXE := .exe
endif