https://github.com/EasyCrypt/easycrypt
Revision f4debca57d022d0dbdbe65970a6f700a30324c1b authored by Pierre-Yves Strub on 24 February 2021, 21:37:09 UTC, committed by Pierre-Yves Strub on 24 February 2021, 21:37:09 UTC
1 parent 7a60dcc
Raw File
Tip revision: f4debca57d022d0dbdbe65970a6f700a30324c1b authored by Pierre-Yves Strub on 24 February 2021, 21:37:09 UTC
stdlib: more results on dfun
Tip revision: f4debca
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