https://github.com/EasyCrypt/easycrypt
Revision ccea93cbec63ecc56396f82fecbb5b74d45c2f6a authored by Pierre-Yves Strub on 04 March 2017, 20:38:03 UTC, committed by Pierre-Yves Strub on 04 March 2017, 20:38:12 UTC
1 parent fd2fc2b
Raw File
Tip revision: ccea93cbec63ecc56396f82fecbb5b74d45c2f6a authored by Pierre-Yves Strub on 04 March 2017, 20:38:03 UTC
nits in docker
Tip revision: ccea93c
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