https://github.com/EasyCrypt/easycrypt
Revision 7c6d40ea2b9efc73c27f787d4a9b6781f67c5308 authored by Pierre-Yves Strub on 28 April 2018, 15:09:18 UTC, committed by Pierre-Yves Strub on 29 April 2018, 09:34:36 UTC
1 parent aa75b1d
Raw File
Tip revision: 7c6d40ea2b9efc73c27f787d4a9b6781f67c5308 authored by Pierre-Yves Strub on 28 April 2018, 15:09:18 UTC
characterization lemmas for <=> and \proper
Tip revision: 7c6d40e
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
back to top