https://github.com/EasyCrypt/easycrypt
Revision 1f45fde6641533d578877e736d1e3865f2de13f3 authored by Alley Stoughton on 10 October 2019, 11:50:05 UTC, committed by Pierre-Yves Strub on 10 October 2019, 11:50:05 UTC
1 parent da0b25a
Raw File
Tip revision: 1f45fde6641533d578877e736d1e3865f2de13f3 authored by Alley Stoughton on 10 October 2019, 11:50:05 UTC
refactor flagged map && PROM (#22)
Tip revision: 1f45fde
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