https://github.com/EasyCrypt/easycrypt
Revision 6c010d0398f1c9f8b1f27054b912aa3eef00f7c5 authored by Pierre-Yves Strub on 21 February 2018, 15:25:06 UTC, committed by Pierre-Yves Strub on 21 February 2018, 15:26:26 UTC
1 parent 459d1a1
Raw File
Tip revision: 6c010d0398f1c9f8b1f27054b912aa3eef00f7c5 authored by Pierre-Yves Strub on 21 February 2018, 15:25:06 UTC
Travis/Docker : sync UID/GID + fix reports publication
Tip revision: 6c010d0
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