https://github.com/EasyCrypt/easycrypt
Revision 9f07d0289f2a0a6eadba9b94d418c1eb2e3d973a authored by Pierre-Yves Strub on 23 February 2018, 08:37:48 UTC, committed by Pierre-Yves Strub on 24 February 2018, 08:12:44 UTC
1 parent dd27d32
Raw File
Tip revision: 9f07d0289f2a0a6eadba9b94d418c1eb2e3d973a authored by Pierre-Yves Strub on 23 February 2018, 08:37:48 UTC
SmtMap : fdom and related results
Tip revision: 9f07d02
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