https://github.com/EasyCrypt/easycrypt
Revision c61b653862382aca241bb9ae003be46fa2f3ca5f authored by Pierre-Yves Strub on 07 July 2015, 14:32:22 UTC, committed by Pierre-Yves Strub on 07 July 2015, 14:32:22 UTC
1 parent 880c7a0
Raw File
Tip revision: c61b653862382aca241bb9ae003be46fa2f3ca5f authored by Pierre-Yves Strub on 07 July 2015, 14:32:22 UTC
NewFSet: core lemmas about cardinal.
Tip revision: c61b653
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