https://github.com/EasyCrypt/easycrypt
Revision b3f11a9974f2f9900e14de2dd7606521d75b432a authored by Pierre-Yves Strub on 09 December 2015, 15:50:59 UTC, committed by Pierre-Yves Strub on 09 December 2015, 15:51:09 UTC
1 parent 0fa2523
Raw File
Tip revision: b3f11a9974f2f9900e14de2dd7606521d75b432a authored by Pierre-Yves Strub on 09 December 2015, 15:50:59 UTC
Add 'eta-reduction'.
Tip revision: b3f11a9
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