https://github.com/EasyCrypt/easycrypt
Revision 527d9ad21b5422b4bca8474beb1bec13872177a9 authored by Benjamin Gregoire on 08 December 2017, 14:56:08 UTC, committed by Benjamin Gregoire on 08 December 2017, 14:56:08 UTC
1 parent 89618eb
Raw File
Tip revision: 527d9ad21b5422b4bca8474beb1bec13872177a9 authored by Benjamin Gregoire on 08 December 2017, 14:56:08 UTC
add new example: Private information retrieval.
Tip revision: 527d9ad
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