https://github.com/EasyCrypt/easycrypt
Revision 3b8b038df189bff2a1d703836507c2297baeae4d authored by Adrien Koutsos on 14 April 2020, 15:08:58 UTC, committed by GitHub on 14 April 2020, 15:08:58 UTC
Co-authored-by: Adrien Koutsos <akoutsos@users.noreply.github.com>
1 parent f3581d5
Raw File
Tip revision: 3b8b038df189bff2a1d703836507c2297baeae4d authored by Adrien Koutsos on 14 April 2020, 15:08:58 UTC
Fixed unclosed box. (#41)
Tip revision: 3b8b038
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