https://github.com/EasyCrypt/easycrypt
Revision 5a31709a64330b38867737b438a7cd2a9fdfd00a authored by Benjamin Gregoire on 12 December 2018, 17:00:34 UTC, committed by Benjamin Gregoire on 12 December 2018, 17:00:34 UTC
1 parent 17eced8
Raw File
Tip revision: 5a31709a64330b38867737b438a7cd2a9fdfd00a authored by Benjamin Gregoire on 12 December 2018, 17:00:34 UTC
simplify proof
Tip revision: 5a31709
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