https://github.com/EasyCrypt/easycrypt
Revision f120f53781e1d49412b55183028ac4da28e8dac5 authored by Benjamin Gregoire on 13 November 2018, 08:12:18 UTC, committed by Benjamin Gregoire on 13 November 2018, 08:12:18 UTC
1 parent 9959602
Raw File
Tip revision: f120f53781e1d49412b55183028ac4da28e8dac5 authored by Benjamin Gregoire on 13 November 2018, 08:12:18 UTC
fix error message
Tip revision: f120f53
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