https://github.com/EasyCrypt/easycrypt
Revision 74207ab65511c7b0e70ca1d97106bb3b0acd67f6 authored by Pierre-Yves Strub on 14 October 2019, 15:22:16 UTC, committed by Pierre-Yves Strub on 14 October 2019, 15:22:16 UTC
1 parent e023995
Raw File
Tip revision: 74207ab65511c7b0e70ca1d97106bb3b0acd67f6 authored by Pierre-Yves Strub on 14 October 2019, 15:22:16 UTC
Remove debugging infos
Tip revision: 74207ab
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