https://github.com/EasyCrypt/easycrypt
Revision 572f035f8bd7287ea4d42466e89df111b5b2cfe5 authored by Pierre-Yves Strub on 04 March 2017, 21:08:33 UTC, committed by Pierre-Yves Strub on 04 March 2017, 21:08:33 UTC
1 parent ccea93c
Raw File
Tip revision: 572f035f8bd7287ea4d42466e89df111b5b2cfe5 authored by Pierre-Yves Strub on 04 March 2017, 21:08:33 UTC
nits in docker (aprhl)
Tip revision: 572f035
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