https://github.com/EasyCrypt/easycrypt
Revision 60d29c1f11f6c79824022608f9f83503d983ce61 authored by Benjamin Gregoire on 13 September 2019, 06:39:19 UTC, committed by Benjamin Gregoire on 13 September 2019, 06:39:19 UTC
1 parent 0e717db
Raw File
Tip revision: 60d29c1f11f6c79824022608f9f83503d983ce61 authored by Benjamin Gregoire on 13 September 2019, 06:39:19 UTC
remove duplicate lemma get_none -> domNE
Tip revision: 60d29c1
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