https://github.com/EasyCrypt/easycrypt
Revision 55d12beccb0cc463f93b35262508afad13844b14 authored by François Dupressoir on 20 April 2018, 09:03:10 UTC, committed by Pierre-Yves Strub on 20 April 2018, 16:27:35 UTC
1 parent a7ed76c
Raw File
Tip revision: 55d12beccb0cc463f93b35262508afad13844b14 authored by François Dupressoir on 20 April 2018, 09:03:10 UTC
porting example WhileSampling
Tip revision: 55d12be
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