https://github.com/EasyCrypt/easycrypt
Revision f2abfb40b09ee73d176c6a1114b8d15ca932d896 authored by Francois Dupressoir on 30 March 2021, 14:59:52 UTC, committed by GitHub on 30 March 2021, 14:59:52 UTC
Add a -no-eco option to disable .eco generation
2 parent s c57f05e + 3a626d5
Raw File
Tip revision: f2abfb40b09ee73d176c6a1114b8d15ca932d896 authored by Francois Dupressoir on 30 March 2021, 14:59:52 UTC
Merge pull request #60 from EasyCrypt/deploy-no-eco
Tip revision: f2abfb4
Makefile.system
# -*- Makefile -*-

# --------------------------------------------------------------------
OCAML    := $(shell ocamlbuild -which ocamlc 2>/dev/null || echo false)
CC       := gcc
TAR      := tar
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 Darwin,$(UNAME)))
  TAR := gtar
endif

ifneq (,$(findstring mingw,$(MACHINE)))
EXE := .exe
endif

ifneq (,$(findstring cygwin,$(MACHINE)))
EXE := .exe
endif
back to top