https://github.com/EasyCrypt/easycrypt
Revision 44ae0e6b7eedfa87b74b8d9d12208afeddabee3d authored by François Dupressoir on 25 August 2017, 09:35:52 UTC, committed by François Dupressoir on 25 August 2017, 09:36:18 UTC
1 parent 3e7dc31
Raw File
Tip revision: 44ae0e6b7eedfa87b74b8d9d12208afeddabee3d authored by François Dupressoir on 25 August 2017, 09:35:52 UTC
typo in error message (ecHiGoal)
Tip revision: 44ae0e6
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