https://github.com/EasyCrypt/easycrypt
Revision 41219efc4353bc41da970245c13cafbed2e73911 authored by Pierre-Yves Strub on 26 March 2019, 13:42:33 UTC, committed by Pierre-Yves Strub on 26 March 2019, 13:42:33 UTC
1 parent a041441
Raw File
Tip revision: 41219efc4353bc41da970245c13cafbed2e73911 authored by Pierre-Yves Strub on 26 March 2019, 13:42:33 UTC
add reduction of Int div/mod by reduction of edivz + bind symbol to Why3
Tip revision: 41219ef
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