https://github.com/EasyCrypt/easycrypt
Revision cd341ca1be9972e8d531d6caa84f06e752ceb8c3 authored by Pierre-Yves Strub on 18 December 2019, 09:41:43 UTC, committed by Pierre-Yves Strub on 18 December 2019, 09:52:45 UTC
1 parent 050cada
Raw File
Tip revision: cd341ca1be9972e8d531d6caa84f06e752ceb8c3 authored by Pierre-Yves Strub on 18 December 2019, 09:41:43 UTC
[done] solves context of the form [false |- G]
Tip revision: cd341ca
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