https://github.com/EasyCrypt/easycrypt
Revision 8d9152d9b1d1528793d4d5369fc7d1c37c88d833 authored by Cécile BARITEL-RUET on 07 March 2019, 10:23:15 UTC, committed by Cécile BARITEL-RUET on 07 March 2019, 10:23:15 UTC
1 parent 012a2b1
Raw File
Tip revision: 8d9152d9b1d1528793d4d5369fc7d1c37c88d833 authored by Cécile BARITEL-RUET on 07 March 2019, 10:23:15 UTC
bug fixes
Tip revision: 8d9152d
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