https://github.com/EasyCrypt/easycrypt
Revision 0c507169378263267293534b70232b94c6e88730 authored by François Dupressoir on 25 July 2017, 17:12:23 UTC, committed by François Dupressoir on 25 July 2017, 17:16:19 UTC
1 parent b4c2a37
Raw File
Tip revision: 0c507169378263267293534b70232b94c6e88730 authored by François Dupressoir on 25 July 2017, 17:12:23 UTC
Lining definitions up for OAEP.
Tip revision: 0c50716
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