https://github.com/EasyCrypt/easycrypt
Revision b0e609d9700c6594f5d00b67c86f1befe75fa2bb authored by Pierre-Yves Strub on 05 November 2021, 15:07:43 UTC, committed by Pierre-Yves Strub on 05 November 2021, 15:08:07 UTC
1 parent b9c7685
Raw File
Tip revision: b0e609d9700c6594f5d00b67c86f1befe75fa2bb authored by Pierre-Yves Strub on 05 November 2021, 15:07:43 UTC
Fix the pretty printing of \ as a binop
Tip revision: b0e609d
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