https://github.com/EasyCrypt/easycrypt
Revision e0343fd8de4b18a816a4e9987af8172a6ece05cf authored by François Dupressoir on 20 August 2015, 11:24:52 UTC, committed by François Dupressoir on 20 August 2015, 11:24:52 UTC
1 parent 7a6cb52
Raw File
Tip revision: e0343fd8de4b18a816a4e9987af8172a6ece05cf authored by François Dupressoir on 20 August 2015, 11:24:52 UTC
Fixing test cases for syntactic changes.
Tip revision: e0343fd
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