https://github.com/EasyCrypt/easycrypt
Revision 9e231d473984ba740547ddb39e45a74f970b6393 authored by nemeras on 04 February 2018, 16:49:10 UTC, committed by nemeras on 04 February 2018, 16:49:10 UTC
1 parent 316fc53
Raw File
Tip revision: 9e231d473984ba740547ddb39e45a74f970b6393 authored by nemeras on 04 February 2018, 16:49:10 UTC
Printing of a Dynamic Record
Tip revision: 9e231d4
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