https://github.com/EasyCrypt/easycrypt
Revision a79235c792ad88c104b8447555c46ecae1aed425 authored by Pierre-Yves Strub on 17 May 2019, 05:34:41 UTC, committed by Pierre-Yves Strub on 17 May 2019, 05:34:41 UTC
1 parent e522b67
Raw File
Tip revision: a79235c792ad88c104b8447555c46ecae1aed425 authored by Pierre-Yves Strub on 17 May 2019, 05:34:41 UTC
add an option [-tstats FILE] for recording timing statistics
Tip revision: a79235c
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