https://github.com/EasyCrypt/easycrypt
Revision ab29b3b57fa94bb738f32a604ae1db5a4b50e23a authored by Pierre-Yves Strub on 26 October 2017, 21:55:18 UTC, committed by Pierre-Yves Strub on 26 October 2017, 21:55:18 UTC
1 parent 3f125db
Raw File
Tip revision: ab29b3b57fa94bb738f32a604ae1db5a4b50e23a authored by Pierre-Yves Strub on 26 October 2017, 21:55:18 UTC
Libraries: distr: killing admits
Tip revision: ab29b3b
Makefile.system
# -*- Makefile -*-

# --------------------------------------------------------------------
OCAML    := $(shell ocamlbuild -which ocamlc 2>/dev/null || echo false)
CC       := gcc
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 mingw,$(MACHINE)))
EXE := .exe
endif

ifneq (,$(findstring cygwin,$(MACHINE)))
EXE := .exe
endif
back to top