https://github.com/EasyCrypt/easycrypt
Revision fd7a34f7be427135f3fd66b0f88078e42b883ef4 authored by Pierre-Yves Strub on 23 October 2017, 04:28:35 UTC, committed by Pierre-Yves Strub on 23 October 2017, 04:28:35 UTC
1 parent fb22315
Raw File
Tip revision: fd7a34f7be427135f3fd66b0f88078e42b883ef4 authored by Pierre-Yves Strub on 23 October 2017, 04:28:35 UTC
Libraries: link Real.(^) with generic one.
Tip revision: fd7a34f
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