https://github.com/EasyCrypt/easycrypt
Revision 743a247de85c6c46da431b3da7def02a0fd59706 authored by Pierre-Yves Strub on 16 November 2021, 16:53:15 UTC, committed by Pierre-Yves Strub on 16 November 2021, 17:35:04 UTC
These PR do not have access to the webhook.t
1 parent 4b604bf
Raw File
Tip revision: 743a247de85c6c46da431b3da7def02a0fd59706 authored by Pierre-Yves Strub on 16 November 2021, 16:53:15 UTC
[ci] do not send a slack message for PR from forked repo
Tip revision: 743a247
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