https://github.com/EasyCrypt/easycrypt
Revision af25c22f260f547e0d80b746a861aed4c3b53bb9 authored by Benjamin Gregoire on 19 June 2019, 13:28:03 UTC, committed by Benjamin Gregoire on 19 June 2019, 13:28:03 UTC
1 parent fc8d388
Raw File
Tip revision: af25c22f260f547e0d80b746a861aed4c3b53bb9 authored by Benjamin Gregoire on 19 June 2019, 13:28:03 UTC
Bug fixing in phl ([closes #17380])
Tip revision: af25c22
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