https://github.com/EasyCrypt/easycrypt
Revision a8c2c61a3bc7195fc4fcd5e7241d931d037dd803 authored by Pierre-Yves Strub on 07 April 2017, 12:08:01 UTC, committed by Pierre-Yves Strub on 07 April 2017, 12:08:01 UTC
1 parent b4866ca
Raw File
Tip revision: a8c2c61a3bc7195fc4fcd5e7241d931d037dd803 authored by Pierre-Yves Strub on 07 April 2017, 12:08:01 UTC
List: all_count_in
Tip revision: a8c2c61
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