https://github.com/EasyCrypt/easycrypt
Revision 19c5eede20dd0d78875d89201126363b64ed7a2e authored by Benjamin Gregoire on 18 December 2017, 12:13:27 UTC, committed by Benjamin Gregoire on 18 December 2017, 12:13:47 UTC
1 parent 34d6e51
Raw File
Tip revision: 19c5eede20dd0d78875d89201126363b64ed7a2e authored by Benjamin Gregoire on 18 December 2017, 12:13:27 UTC
more ways to do the proof
Tip revision: 19c5eed
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