https://github.com/EasyCrypt/easycrypt
Revision 27c1df3409247ba9824735ee4e3423477f9e3e72 authored by Pierre-Yves Strub on 28 March 2019, 05:41:39 UTC, committed by Pierre-Yves Strub on 28 March 2019, 05:41:39 UTC
1 parent 41219ef
Raw File
Tip revision: 27c1df3409247ba9824735ee4e3423477f9e3e72 authored by Pierre-Yves Strub on 28 March 2019, 05:41:39 UTC
Allow : t1 || t2 || ... || tn
Tip revision: 27c1df3
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