https://github.com/EasyCrypt/easycrypt
Revision d49a3f6bffee770c64db72dfcc0ed39470c8faf2 authored by Pierre-Yves Strub on 13 June 2017, 20:31:03 UTC, committed by Pierre-Yves Strub on 13 June 2017, 20:31:03 UTC
1 parent 1953e05
Raw File
Tip revision: d49a3f6bffee770c64db72dfcc0ed39470c8faf2 authored by Pierre-Yves Strub on 13 June 2017, 20:31:03 UTC
Travis
Tip revision: d49a3f6
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