https://github.com/EasyCrypt/easycrypt
Revision 337a8ab8d8e6c9aaa190f99b2883a289d6d597ae authored by Cécile BARITEL-RUET on 20 December 2018, 14:25:05 UTC, committed by Cécile BARITEL-RUET on 20 December 2018, 14:25:05 UTC
1 parent b2b7e5b
Raw File
Tip revision: 337a8ab8d8e6c9aaa190f99b2883a289d6d597ae authored by Cécile BARITEL-RUET on 20 December 2018, 14:25:05 UTC
fix a smt call
Tip revision: 337a8ab
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