swh:1:snp:073f9f660876ea6d96214b0f286fe610ca1875c7
Tip revision: 6c344614ecca39059355922d27063d0e7c53ee14 authored by Pierre-Yves Strub on 26 November 2018, 09:45:25 UTC
Merge branch '1.0' into deploy-match
Merge branch '1.0' into deploy-match
Tip revision: 6c34461
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