https://github.com/EasyCrypt/easycrypt
Revision 78c7d52b9aca53be8135fa4ced5e8e796bc4618a authored by Benjamin Gregoire on 21 July 2017, 13:21:38 UTC, committed by Benjamin Gregoire on 21 July 2017, 13:32:33 UTC
1 parent ebadb1b
Raw File
Tip revision: 78c7d52b9aca53be8135fa4ced5e8e796bc4618a authored by Benjamin Gregoire on 21 July 2017, 13:21:38 UTC
add the ceil and floor functions
Tip revision: 78c7d52
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