swh:1:snp:076368cbf342de01274868b2f8742ab4e62222ef
Tip revision: 3671d46d17f7d1778c82088afcda431c8f17ccce authored by Pierre-Yves Strub on 18 December 2020, 20:07:48 UTC
Travis -> CircleCI
Travis -> CircleCI
Tip revision: 3671d46
Makefile.system
# -*- Makefile -*-
# --------------------------------------------------------------------
OCAML := $(shell ocamlbuild -which ocamlc 2>/dev/null || echo false)
CC := gcc
TAR := tar
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 Darwin,$(UNAME)))
TAR := gtar
endif
ifneq (,$(findstring mingw,$(MACHINE)))
EXE := .exe
endif
ifneq (,$(findstring cygwin,$(MACHINE)))
EXE := .exe
endif