https://github.com/EasyCrypt/easycrypt
Revision de1d4dca0c9f38a661ed1017f62b7d87cc12b631 authored by Benjamin Gregoire on 27 November 2019, 21:10:03 UTC, committed by Benjamin Gregoire on 29 November 2019, 07:56:52 UTC
1 parent 78e8f6e
Raw File
Tip revision: de1d4dca0c9f38a661ed1017f62b7d87cc12b631 authored by Benjamin Gregoire on 27 November 2019, 21:10:03 UTC
Fix bug in eager if
Tip revision: de1d4dc
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