Revision 455162bc35b434e4986f551a65457fe59f4cf289 authored by Pierre-Yves Strub on 27 August 2016, 07:11:21 UTC, committed by Pierre-Yves Strub on 27 August 2016, 07:12:22 UTC
The pragma is `redlogic` (i.e. logical reduction in `/=`). It is set
by default.

[close #17333]
1 parent d273f1b
Raw File
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