https://github.com/EasyCrypt/easycrypt
Revision b481f984a70115513259bc2d1a4bbd316bf19176 authored by Pierre-Yves Strub on 25 March 2019, 12:03:45 UTC, committed by Pierre-Yves Strub on 25 March 2019, 12:03:45 UTC
1 parent 1fb57b6
Raw File
Tip revision: b481f984a70115513259bc2d1a4bbd316bf19176 authored by Pierre-Yves Strub on 25 March 2019, 12:03:45 UTC
"call L" automatically applies "L" to "_" when needed.
Tip revision: b481f98
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