https://github.com/EasyCrypt/easycrypt
Revision 107983254c5bcebfe25e2d215b71e8548a357c6d authored by Benjamin Gregoire on 24 March 2017, 13:19:27 UTC, committed by Benjamin Gregoire on 24 March 2017, 13:19:27 UTC
1 parent 4950e67
Raw File
Tip revision: 107983254c5bcebfe25e2d215b71e8548a357c6d authored by Benjamin Gregoire on 24 March 2017, 13:19:27 UTC
Use “is_lossless” and "predT" in rnd rules
Tip revision: 1079832
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