https://github.com/EasyCrypt/easycrypt
Revision 2f6312cad1917d7e0eae9cf37d8663014890ab86 authored by François Dupressoir on 13 November 2017, 17:02:56 UTC, committed by François Dupressoir on 13 November 2017, 17:06:47 UTC
1 parent b95b795
Raw File
Tip revision: 2f6312cad1917d7e0eae9cf37d8663014890ab86 authored by François Dupressoir on 13 November 2017, 17:02:56 UTC
Stabilise smt in old ROM.ec
Tip revision: 2f6312c
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