https://github.com/EasyCrypt/easycrypt
Revision da54edb5f31e5f8a67ff1653d5a1688cc22357dc authored by Pierre-Yves Strub on 01 March 2017, 11:04:22 UTC, committed by Pierre-Yves Strub on 01 March 2017, 11:04:22 UTC
1 parent d92f237
Raw File
Tip revision: da54edb5f31e5f8a67ff1653d5a1688cc22357dc authored by Pierre-Yves Strub on 01 March 2017, 11:04:22 UTC
[pprint]: when checking that 2 programs are in sync, use alpha-eq without path norm'ion
Tip revision: da54edb
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