https://github.com/EasyCrypt/easycrypt
Revision ed7bf6cc731a8bb862f0b240fd6a938b2747adf9 authored by Pierre-Yves Strub on 03 December 2018, 12:40:04 UTC, committed by Pierre-Yves Strub on 03 December 2018, 12:40:04 UTC
1 parent f120f53
Raw File
Tip revision: ed7bf6cc731a8bb862f0b240fd6a938b2747adf9 authored by Pierre-Yves Strub on 03 December 2018, 12:40:04 UTC
(internal API) - typed application soft-constructor for forms
Tip revision: ed7bf6c
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