https://github.com/EasyCrypt/easycrypt
Revision 5e9f9559efe9cb643cf616327c060f980c544953 authored by Pierre-Yves Strub on 26 March 2019, 10:46:03 UTC, committed by Pierre-Yves Strub on 26 March 2019, 10:46:03 UTC
1 parent 8a0c097
Raw File
Tip revision: 5e9f9559efe9cb643cf616327c060f980c544953 authored by Pierre-Yves Strub on 26 March 2019, 10:46:03 UTC
Extend matching (projections)
Tip revision: 5e9f955
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