https://github.com/EasyCrypt/easycrypt
Revision 41d0d08856265ad8e2f32b3555a4ae321a11f477 authored by Pierre-Yves Strub on 10 June 2020, 14:44:03 UTC, committed by Pierre-Yves Strub on 10 June 2020, 14:44:03 UTC
`unit` predicate is still abstract. The link with the determinant has
still to be done.
1 parent 4b965ee
Raw File
Tip revision: 41d0d08856265ad8e2f32b3555a4ae321a11f477 authored by Pierre-Yves Strub on 10 June 2020, 14:44:03 UTC
Theory on square matrices (up to ring structure)
Tip revision: 41d0d08
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